Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
118 views
by

Unable to launch Browser in Webdrive. I have tried this code but didnot worked.

 

package new_project_aug;
 
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
 
public class series_001 {
 
public static void main(String[] args) {
// TODO Auto-generated method stub
 
WebDriver driver= new FirefoxDriver();
driver.manage().window().maximize();
driver.get("https://www.google.co.in");
 
}}
 

 

1 Answer

0 like 0 dislike
by The go-to Tester (181 points)
It looks like your browser is automatically updated. Kindly downgrade your browser or upgrade your selenium libraries. Also make sure that you do not have extra plugin installed.

 

Kindly post error message appearing on your console, so that I can help you with more accurate suggestions.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...