New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #725 remote browser binary #726
Conversation
add info logging for usage of browserBinary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments
@@ -52,6 +57,20 @@ DesiredCapabilities getDriverCapabilities(Proxy proxy) { | |||
if (headless) { | |||
capabilities.merge(getHeadlessCapabilities()); | |||
} | |||
if (!browserBinary.isEmpty()) { | |||
log.info("Using browser binary: " + browserBinary); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider extract this block to separate method like for getHeadlessCapabilities()
class SafariDriverFactory extends AbstractDriverFactory { | ||
|
||
private static final Logger log = Logger.getLogger(OperaDriverFactory.class.getName()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OperaDriverFactory => SafariDriverFactory
Codecov Report
@@ Coverage Diff @@
## master #726 +/- ##
============================================
- Coverage 63.36% 62.95% -0.41%
- Complexity 864 870 +6
============================================
Files 154 154
Lines 2989 3021 +32
Branches 291 297 +6
============================================
+ Hits 1894 1902 +8
- Misses 996 1019 +23
- Partials 99 100 +1
Continue to review full report at Codecov.
|
@BorisOsipov fixed |
Fix for using browserBinary on Remote Servers
extended logging