Skip to content

Better error-handling when activating UC Mode with incompatible modes #1579

@mdmintz

Description

@mdmintz

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions