chrome browser not getting launched after changing selenium version to 3.13.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
selenium selenium-webdriver selenium-chromedriver selenium3
add a comment |
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
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
add a comment |
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
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
selenium selenium-webdriver selenium-chromedriver selenium3
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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).
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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).
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
add a comment |
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).
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
add a comment |
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).
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).
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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