Closed rohandudam closed 1 week ago
- What is the purpose of
BS_ENABLE_SCREENSHOTS
? I don't notice any changes whether if it is set to true or false
It is updating the debug capability of BrowserStack driver. Look at https://github.com/qxf2/qxf2-page-object-model/blob/master/integrations/cross_browsers/browserstack_runner.py#L41
- However i noticed that for mobile tests, no matter what value we set for
remote_browser_platform
, it still runs on Browserstack.
I am able to run mobile test on SauceLab, I set REMOTE_BROWSER_PLATFORM = "SL" to run it. Can you please try it. Your observation is true, if you set REMOTE_BROWSER_PLATFORM value other than 'SL'. Look at the code here: https://github.com/qxf2/qxf2-page-object-model/blob/master/core_helpers/drivers/driverfactory.py#L157#L166 @akkuldn this is not a really issue and unrelated to this PR.
Note: I didn't delete complete BrowserStack Library as we need the file during BrowserStack's enhancement feature https://github.com/qxf2/qxf2-page-object-model/issues/432. In this PR I removed the outdated method related to screenshot from library.