power_settings_new

unable to launch Browser in Webdriver

by
asked
+1 vote
31 views

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");
 
}}
 

 

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

answered by (171 points)
0 votes
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.
add
...