Selenium program for page heading verification with locators| How to fix Chrome111.x issue

Selenium program for page heading verification with locators| How to fix Chrome111.x issue

Muhammad Naeem

1 год назад

104 Просмотров

This tutorial is a continuation of the Maven project creation in IntelliJ IDEA. Refer the below URL
https://www.youtube.com/watch?v=6qrLPruGFQ8&t=39s

This video consists of the What are Selenium Locator? and then a Selenium program to
1.Navigate to the http://www.wix.com
2. Click o Get Started page
3. Validate the Sign Up page title.

During demonstration I came across with an issue of websocket error which is currently not handle in Selenium-4.81. I used the solution of @naveenautomationlabs in which we need to add the below code
ChromeOptions co =new ChromeOptions();
co.addArguments("--remote-allow-origins=*");
WebDriver driver = new ChromeDriver(co);
and pass this argument in the Chrome Driver()

There is one more challenge of handling the multi tab of Chrome Browser.

Below are the content of this tutorial

00:00 Selenium Locators
00:15 Previous Video about Maven project
00:45 What are Locators?
01:50 Type of Locators
03:54 Finding Elements by using Tool
05:00 Demo
12:33 Chrome111.x issue
14:00 Solution of the Chrome 111.x web socket error
19:12 Multi tab issue resolution
19:48 Program in action
20:42 Github project location

Below is the Github location of this project. You can download and see the code for help.
https://github.com/mnaeem22/MavenProjectWixSignUpPageVerification

Тэги:

#Maven_project_with_IntelliJ_IDEA #Selenium_project_to_validate_page_heading_title #How_to_fix_the_Chrome111.x_issue #How_to_handle_multiple_tab_in_selenium #What_are_locator?_and_how_to_locate_WebElement? #Tools_for_locating_WebElement #How_to_validate_page_heading
Ссылки и html тэги не поддерживаются


Комментарии: