Open
Description
Hi,
We make great use of the chrome_options
and firefox_options
fixtures - they're great.
However, some functionality is only exposed on a specific instance of Webdriver
, e.g., ChromiumDriver#set_network_conditions
Is there a standard place/way to call these functions only when the right type of browser is in use? Obviously we can inspect the current webdriver, pytestconfig, test environment, etc., to determine whether it's a ChromiumDriver
, but since the options are handled so nicely I thought maybe this would be too.