You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was watching your most recent stream where you mentioned that webdriver isn't part of fantoccini's public API. I have a little experimental tool called cargo-public-api-crates which can find crates your public API, so naturally, I ran it.
Ah, interesting, your tool is entirely correct, that is a leak. The intent is for this impl to be a private impl of the trait, not a public one, but at the moment that's not a thing we can express. The way to fix this short-term is to add a private wrapper type for Wcmd and implement the trait for that instead, and then convert all the code that currently passes in Wcmds to issue_cmd to inject that wrapper type as well. It's pretty annoying, but it's what we'll have to do I suppose. Any chance you'd want to take a stab at that?
I was watching your most recent stream where you mentioned that webdriver isn't part of fantoccini's public API. I have a little experimental tool called cargo-public-api-crates which can find crates your public API, so naturally, I ran it.
It found this for webdriver:
That is this impl which does appear to contain types from webdriver.
I'm wondering if this is something you're aware of and if its a false positive in my tool, or if this impl actually does leak the webdriver version.
The text was updated successfully, but these errors were encountered: