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
There are no other options aside from these. However, the various browsers can be started with a whole bunch of options. For example I wanted to create a chrome.debug driver, with --auto-open-devtools-for-tabs. This is currently not possible, since there is no way to pass through this option. One option would be to change this to something like:
This is much more explicit, and makes it clearer how to configure other capabilities, but it does make it harder to set up new drivers.
Also, the browserName bit is slightly confusing, since it isn't really configuring what browser to use, but rather which executable to run, chromedriver, geckodriver, etc... So maybe it would make sense to change this? But what would a better name be?
I don't think that there are any custom driver setups in the wild yet, so at this point in time this should still be fairly easy to change.
The text was updated successfully, but these errors were encountered:
WRT the capabilities argument, this seems very reasonable.
For the case of the "browser name", one of the things that has always bothered me is that the browserName means nothing if the if the type is "remote". By the same token, if the type is remote, then where does the url come from?
Perhaps, the local/remote options should be under the local/remote key.
That's a much improved API, IMO. It might be worth questioning even the local/remote dichotomy. It seems like this is something that is somewhat ingrained in webdriver, but an even more descriptive alternative might be something like this:
Currently when defining a driver, we can define it like this:
There are no other options aside from these. However, the various browsers can be started with a whole bunch of options. For example I wanted to create a
chrome.debug
driver, with--auto-open-devtools-for-tabs
. This is currently not possible, since there is no way to pass through this option. One option would be to change this to something like:This is much more explicit, and makes it clearer how to configure other capabilities, but it does make it harder to set up new drivers.
Also, the
browserName
bit is slightly confusing, since it isn't really configuring what browser to use, but rather which executable to run,chromedriver
,geckodriver
, etc... So maybe it would make sense to change this? But what would a better name be?I don't think that there are any custom driver setups in the wild yet, so at this point in time this should still be fairly easy to change.
The text was updated successfully, but these errors were encountered: