-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: Adding a guard that prevents starting "IE instead of Opera" (…
…or some other unwanted browser that obviously does not match the desired capabilities). Previously if a new session request is forwarded to a node it results in a driver instance creation in any case. For example, let's suppose a user starts a node with -browser browserName=opera option, and there is no operadriver in the classpath. Then the user requests a new remote driver with browserName=opera. The hub forwards the request to the node, and the node attempts to find the "best matching" driver provider. As far as opera is not available, it can start any other browser. Because "best matching" does not imply matching. The new guard prevents this unwanted behavior.
- Loading branch information
Showing
3 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters