data:, shown in the chrome url bar when I execute the following Selenium ChromeWebdrive Script

前端 未结 1 1391
北荒
北荒 2020-12-22 04:16

data:, shown in the chrome url bar when I execute the following Selenium ChromeWebdrive Script. Is the because other instance of chrome browser are working?



        
相关标签:
1条回答
  • 2020-12-22 04:44

    Your code looks fine just replace .getProperty() with .setProperty():

    System.getProperty("webdriver.chrome.driver", 
      "C:\\Automation\\chromedriver_win32\\chromedriver.exe");
    

    with

    System.setProperty("webdriver.chrome.driver",
      "C:\\Automation\\chromedriver_win32\\chromedriver.exe");
    
    0 讨论(0)
提交回复
热议问题