Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprint6 #33

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Sprint6 #33

wants to merge 5 commits into from

Conversation

cll2
Copy link

@cll2 cll2 commented Jul 31, 2024

No description provided.

@Berichicko
Copy link

Hello,

I have checked your QA Internship | Sprint B, and I wanted to let you know that you're doing great! Keep up the excellent work!
Best wishes from the HW team (Alex, [email protected])!

Thumbs-up-hand-with-crown-illustration-on-transparent-background-PNG

Quote

image

My recommendations:
Add multiple arguments:
--disable-notifications: disabling notifications
--remote-allow-origins=*: allowing remote origins
--incognito: launching in incognito mode
--start-maximized: launching in maximized mode
"excludeSwitches", new String[]{"enable-automation"} : Disable notification Chrome is being controlled by automated test software in ChromeDriver
These settings are enabled to simplify and improve the process of automated testing.
For example
image

                WebDriverManager.chromedriver().setup();
                ChromeOptions options = new ChromeOptions();
                options.addArguments("--disable-notifications","--remote-allow-origins=*", "--incognito","--start-maximized");
                options.setExperimentalOption("excludeSwitches", new String[]{"enable-automation"});
                return new ChromeDriver(options);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants