Better error-handling when activating UC Mode with incompatible modes
UC Mode doesn't support mobile emulation. (Don't mix --uc with --mobile.)
--> (invalid argument: unrecognized chrome option: mobileEmulation)
UC Mode doesn't work directly with selenium-wire. (Don't mix --uc with --wire.)
--> You might be able to override get_new_driver() to combine --uc with --wire.
--> See https://seleniumbase.io/help_docs/syntax_formats/#sb_sf_09 for details.
pytest could be programmed to end the run before any test starts when using incompatible options.
Better error-handling when activating UC Mode with incompatible modes
UC Mode doesn't support mobile emulation. (Don't mix
--uc
with--mobile
.) --> (invalid argument: unrecognized chrome option: mobileEmulation
)UC Mode doesn't work directly with
selenium-wire
. (Don't mix--uc
with--wire
.) --> You might be able to overrideget_new_driver()
to combine--uc
with--wire
. --> See https://seleniumbase.io/help_docs/syntax_formats/#sb_sf_09 for details.pytest
could be programmed to end the run before any test starts when using incompatible options.