This video illustrates how to work with Chrome browser using selenium and Java and how to close the web browser via selenium code. This is the second episode of the learn selenium from scratch series. This is aimed for manual testers and students who want to learn Selenium. This video series serves as an absolute beginner guide for test automation which covers all the basic and the advanced concepts.
Topics Covered
-------------------------
Launch Chrome browser using 3 different ways
Best way to Launch Browser
Sample Code:
-------------------------
✔ way 01)
System.setProperty("webdriver.chrome.driver", "/path/to/chromedriver");
WebDriver driver = new ChromeDriver();
✔ way 02)
WebDriverManager.chromedriver().setup();
WebDriver driver = new ChromeDriver();
✔ way 03)
WebDriver driver = new ChromeDriver();
Support by donating:
---------------------------------
Best way to reach me (replies will be faster): YouTube comment section
👤 Name : Hashir Hasmy
📱 LinkedIn : / mohamed-hashir-370840198
📧 Email : [email protected]
🔗 GitHub : https://github.com/hashirhasmy
Reference Links:
--------------------------
1. How to Install Java:
• How to Install Java JDK 21 on Windows 10 |...
2. How to install IntelliJ IDEA:
• How to install IntelliJ IDEA on Windows 10...
Download Links:
---------------------------
1. Java download link (https://www.oracle.com/java/technolog...)
2. IntelliJ IDEA Download - Download IntelliJ IDEA Community Edition (https://www.jetbrains.com/idea/downlo...)