Py safari options#10385
Conversation
Include the Automatic Profiling and Automatic Inspection option to safarie options. Also add's the options to set browser name to Safari Technology Preview
|
Thanks for the PR. I have started the github actions and there are some failures (tox mostly). Can you have a look at those please |
There where some blank lines containing whitespaces which is against the flake8 style convention.
@AutomatedTester thanks for your response. I have fixed the tox failures. I also tried to take a look at why the firefox_tests_remote failed. The |
|
Kudos, SonarCloud Quality Gate passed! |
|
Hi, does this feature helps with warning that comes up on MacOS while using safari? well now when safari options have been added, how do I get rid of this warning? How do I pass properly the arguments while initialising web driver for safari? |
|
Yes, should fix it. Use like this: |
|
Actually I've had done that exactly the same before your answer and it hadn't worked. conftest.py Warning still appears. |
|
Sure enough. The driver sets the value by default, then the superclass throws the warning not to set it. |
* Add safari options Include the Automatic Profiling and Automatic Inspection option to safarie options. Also add's the options to set browser name to Safari Technology Preview * Add safari options unit tests * Fix flake8 style error There where some blank lines containing whitespaces which is against the flake8 style convention. Co-authored-by: David Burns <[email protected]>








Description
Adds same functionality as the the safari options in the java repository. Enables the user to set safari options:
Motivation and Context
Python is the only language not to have a Safari Options class.
Closes #10267
Types of changes
Checklist