chrome browser not getting launched after changing selenium version to 3.13.0












0














I was using 2.53 selenium version and now I have changed my selenium version to 3.13.0.
With this version change chromedriver is not getting initialized. In simple words chrome is not getting launched. But if I again change to selenium 2.53 then it works fine. I am using maven.




  • Chrome browser version is 70

  • Chrome driver version is 2.43


In pom.xml I changed below dependency version to 3.13.0:
- selenium-java
- selenium-server
- selenium-chrome-driver
- selenium-support



Any idea of this kind of issues. Let me know if you required more details



SeleniumWebdriver code:



public class SeleniumDriverSetup extends Thread {   


public static WebDriver getDriver(String strBrowser) throws Exception
{
WebDriver driver = null;
ExcelUtils.setExcelFile(HelperMethods.getRunEngineFileName());
String OS = GlobalConstants.operatingSystem;

if(OS.equalsIgnoreCase("Windows")){

if(strBrowser.trim().toUpperCase().equals("CHROME"))
{
System.setProperty("webdriver.chrome.driver",GlobalConstants.librariesPath +"chromedriver.exe");
driver = new ChromeDriver();
driver.manage().window().maximize();
System.out.println("***CHROME DRIVER HAS BEEN CREATED");

}
}
return driver;
}
}


click here to check pom.xml










share|improve this question
























  • What is the Error you are getting?
    – koushick
    Nov 12 '18 at 9:50












  • nothing on console test case just does not execute and it mark it as failed
    – akshay tupe
    Nov 12 '18 at 9:57










  • Console logs: ###The URL: www,google.com ###The BROWSER: CHROME ***key, toCheckLoginFunctionalityWithValidCredentials value [TestNG] Running: D:google_automationteststestit.xml @@@@@@@@@@@@@@@@@@@@@@@ =============================================== Regression_Automation_Test Total tests run: 1, Failures: 1, Skips: 0 =============================================== Starting ChromeDriver 2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a) on port 10225 Only local connections are allowed.
    – akshay tupe
    Nov 12 '18 at 10:00
















0














I was using 2.53 selenium version and now I have changed my selenium version to 3.13.0.
With this version change chromedriver is not getting initialized. In simple words chrome is not getting launched. But if I again change to selenium 2.53 then it works fine. I am using maven.




  • Chrome browser version is 70

  • Chrome driver version is 2.43


In pom.xml I changed below dependency version to 3.13.0:
- selenium-java
- selenium-server
- selenium-chrome-driver
- selenium-support



Any idea of this kind of issues. Let me know if you required more details



SeleniumWebdriver code:



public class SeleniumDriverSetup extends Thread {   


public static WebDriver getDriver(String strBrowser) throws Exception
{
WebDriver driver = null;
ExcelUtils.setExcelFile(HelperMethods.getRunEngineFileName());
String OS = GlobalConstants.operatingSystem;

if(OS.equalsIgnoreCase("Windows")){

if(strBrowser.trim().toUpperCase().equals("CHROME"))
{
System.setProperty("webdriver.chrome.driver",GlobalConstants.librariesPath +"chromedriver.exe");
driver = new ChromeDriver();
driver.manage().window().maximize();
System.out.println("***CHROME DRIVER HAS BEEN CREATED");

}
}
return driver;
}
}


click here to check pom.xml










share|improve this question
























  • What is the Error you are getting?
    – koushick
    Nov 12 '18 at 9:50












  • nothing on console test case just does not execute and it mark it as failed
    – akshay tupe
    Nov 12 '18 at 9:57










  • Console logs: ###The URL: www,google.com ###The BROWSER: CHROME ***key, toCheckLoginFunctionalityWithValidCredentials value [TestNG] Running: D:google_automationteststestit.xml @@@@@@@@@@@@@@@@@@@@@@@ =============================================== Regression_Automation_Test Total tests run: 1, Failures: 1, Skips: 0 =============================================== Starting ChromeDriver 2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a) on port 10225 Only local connections are allowed.
    – akshay tupe
    Nov 12 '18 at 10:00














0












0








0







I was using 2.53 selenium version and now I have changed my selenium version to 3.13.0.
With this version change chromedriver is not getting initialized. In simple words chrome is not getting launched. But if I again change to selenium 2.53 then it works fine. I am using maven.




  • Chrome browser version is 70

  • Chrome driver version is 2.43


In pom.xml I changed below dependency version to 3.13.0:
- selenium-java
- selenium-server
- selenium-chrome-driver
- selenium-support



Any idea of this kind of issues. Let me know if you required more details



SeleniumWebdriver code:



public class SeleniumDriverSetup extends Thread {   


public static WebDriver getDriver(String strBrowser) throws Exception
{
WebDriver driver = null;
ExcelUtils.setExcelFile(HelperMethods.getRunEngineFileName());
String OS = GlobalConstants.operatingSystem;

if(OS.equalsIgnoreCase("Windows")){

if(strBrowser.trim().toUpperCase().equals("CHROME"))
{
System.setProperty("webdriver.chrome.driver",GlobalConstants.librariesPath +"chromedriver.exe");
driver = new ChromeDriver();
driver.manage().window().maximize();
System.out.println("***CHROME DRIVER HAS BEEN CREATED");

}
}
return driver;
}
}


click here to check pom.xml










share|improve this question















I was using 2.53 selenium version and now I have changed my selenium version to 3.13.0.
With this version change chromedriver is not getting initialized. In simple words chrome is not getting launched. But if I again change to selenium 2.53 then it works fine. I am using maven.




  • Chrome browser version is 70

  • Chrome driver version is 2.43


In pom.xml I changed below dependency version to 3.13.0:
- selenium-java
- selenium-server
- selenium-chrome-driver
- selenium-support



Any idea of this kind of issues. Let me know if you required more details



SeleniumWebdriver code:



public class SeleniumDriverSetup extends Thread {   


public static WebDriver getDriver(String strBrowser) throws Exception
{
WebDriver driver = null;
ExcelUtils.setExcelFile(HelperMethods.getRunEngineFileName());
String OS = GlobalConstants.operatingSystem;

if(OS.equalsIgnoreCase("Windows")){

if(strBrowser.trim().toUpperCase().equals("CHROME"))
{
System.setProperty("webdriver.chrome.driver",GlobalConstants.librariesPath +"chromedriver.exe");
driver = new ChromeDriver();
driver.manage().window().maximize();
System.out.println("***CHROME DRIVER HAS BEEN CREATED");

}
}
return driver;
}
}


click here to check pom.xml







selenium selenium-webdriver selenium-chromedriver selenium3






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 15 '18 at 8:51







akshay tupe

















asked Nov 12 '18 at 9:32









akshay tupeakshay tupe

12




12












  • What is the Error you are getting?
    – koushick
    Nov 12 '18 at 9:50












  • nothing on console test case just does not execute and it mark it as failed
    – akshay tupe
    Nov 12 '18 at 9:57










  • Console logs: ###The URL: www,google.com ###The BROWSER: CHROME ***key, toCheckLoginFunctionalityWithValidCredentials value [TestNG] Running: D:google_automationteststestit.xml @@@@@@@@@@@@@@@@@@@@@@@ =============================================== Regression_Automation_Test Total tests run: 1, Failures: 1, Skips: 0 =============================================== Starting ChromeDriver 2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a) on port 10225 Only local connections are allowed.
    – akshay tupe
    Nov 12 '18 at 10:00


















  • What is the Error you are getting?
    – koushick
    Nov 12 '18 at 9:50












  • nothing on console test case just does not execute and it mark it as failed
    – akshay tupe
    Nov 12 '18 at 9:57










  • Console logs: ###The URL: www,google.com ###The BROWSER: CHROME ***key, toCheckLoginFunctionalityWithValidCredentials value [TestNG] Running: D:google_automationteststestit.xml @@@@@@@@@@@@@@@@@@@@@@@ =============================================== Regression_Automation_Test Total tests run: 1, Failures: 1, Skips: 0 =============================================== Starting ChromeDriver 2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a) on port 10225 Only local connections are allowed.
    – akshay tupe
    Nov 12 '18 at 10:00
















What is the Error you are getting?
– koushick
Nov 12 '18 at 9:50






What is the Error you are getting?
– koushick
Nov 12 '18 at 9:50














nothing on console test case just does not execute and it mark it as failed
– akshay tupe
Nov 12 '18 at 9:57




nothing on console test case just does not execute and it mark it as failed
– akshay tupe
Nov 12 '18 at 9:57












Console logs: ###The URL: www,google.com ###The BROWSER: CHROME ***key, toCheckLoginFunctionalityWithValidCredentials value [TestNG] Running: D:google_automationteststestit.xml @@@@@@@@@@@@@@@@@@@@@@@ =============================================== Regression_Automation_Test Total tests run: 1, Failures: 1, Skips: 0 =============================================== Starting ChromeDriver 2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a) on port 10225 Only local connections are allowed.
– akshay tupe
Nov 12 '18 at 10:00




Console logs: ###The URL: www,google.com ###The BROWSER: CHROME ***key, toCheckLoginFunctionalityWithValidCredentials value [TestNG] Running: D:google_automationteststestit.xml @@@@@@@@@@@@@@@@@@@@@@@ =============================================== Regression_Automation_Test Total tests run: 1, Failures: 1, Skips: 0 =============================================== Starting ChromeDriver 2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a) on port 10225 Only local connections are allowed.
– akshay tupe
Nov 12 '18 at 10:00












1 Answer
1






active

oldest

votes


















0














I think, that this import:




selenium-chrome-driver




Should be not 3.13.0 but 2.42 or 2.43 (these two versions support Chrome version 70).






share|improve this answer





















  • selenium-chrome-driver 3.13.0 is the package version and the 2.42 and 2.43 version you talking about are chromedriver versions
    – akshay tupe
    Nov 12 '18 at 10:14











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53259268%2fchrome-browser-not-getting-launched-after-changing-selenium-version-to-3-13-0%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














I think, that this import:




selenium-chrome-driver




Should be not 3.13.0 but 2.42 or 2.43 (these two versions support Chrome version 70).






share|improve this answer





















  • selenium-chrome-driver 3.13.0 is the package version and the 2.42 and 2.43 version you talking about are chromedriver versions
    – akshay tupe
    Nov 12 '18 at 10:14
















0














I think, that this import:




selenium-chrome-driver




Should be not 3.13.0 but 2.42 or 2.43 (these two versions support Chrome version 70).






share|improve this answer





















  • selenium-chrome-driver 3.13.0 is the package version and the 2.42 and 2.43 version you talking about are chromedriver versions
    – akshay tupe
    Nov 12 '18 at 10:14














0












0








0






I think, that this import:




selenium-chrome-driver




Should be not 3.13.0 but 2.42 or 2.43 (these two versions support Chrome version 70).






share|improve this answer












I think, that this import:




selenium-chrome-driver




Should be not 3.13.0 but 2.42 or 2.43 (these two versions support Chrome version 70).







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 12 '18 at 10:03









UkrainisUkrainis

1608




1608












  • selenium-chrome-driver 3.13.0 is the package version and the 2.42 and 2.43 version you talking about are chromedriver versions
    – akshay tupe
    Nov 12 '18 at 10:14


















  • selenium-chrome-driver 3.13.0 is the package version and the 2.42 and 2.43 version you talking about are chromedriver versions
    – akshay tupe
    Nov 12 '18 at 10:14
















selenium-chrome-driver 3.13.0 is the package version and the 2.42 and 2.43 version you talking about are chromedriver versions
– akshay tupe
Nov 12 '18 at 10:14




selenium-chrome-driver 3.13.0 is the package version and the 2.42 and 2.43 version you talking about are chromedriver versions
– akshay tupe
Nov 12 '18 at 10:14


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53259268%2fchrome-browser-not-getting-launched-after-changing-selenium-version-to-3-13-0%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Full-time equivalent

Bicuculline

さくらももこ