Link Click using selenium webdriver is giving timeout error, link is working fine on browser otherwiseHow to maximize the browser window in Selenium WebDriver (Selenium 2) using C#?click command in selenium webdriver does not workSelenium WebDriver (2.25) Timeout Not WorkingSelenium Webdriver submit() vs click()Click a Link working in Selenium Ide but not working in Webdriversendkeys are not working in Selenium WebdriverHow to run more tests by downloading logins in the database or excel webdriver seleniumSelenium WebDriver throwing an error for Click action, but Click is actually successfulCannot click the link in Selenium with WebDriverselenium webdriver gives error in pycharm
Cubic programming and beyond?
What do the horizontal lines in a P-V phase diagram mean?
During copyediting, journal disagrees about spelling of paper's main topic
Print the last, middle and first character of your code
How do Windows version numbers work?
Why would guns not work in the dungeon?
Why did the Japanese attack the Aleutians at the same time as Midway?
Does Ubuntu Server 18.04.2 LTS "track" users in any way?
Would letting a multiclass character rebuild their character to be single-classed be game-breaking?
<schwitz>, <zwinker> etc. Does German always use 2nd Person Singular Imperative verbs for emoticons? If so, why?
Was adding milk to tea started to reduce employee tea break time?
Were there any new Pokémon introduced in the movie Pokémon: Detective Pikachu?
Best wood species for extreme bends?
Can I intentionally omit previous work experience or pretend it doesn't exist when applying for jobs?
If Dutch railways suggests a 5-min connection, is it definitely doable?
Was the Ford Model T black because of the speed black paint dries?
How do I take a fraction to a negative power?
Shortest distance around a pyramid?
What is temperature on a quantum level
Matchmaker, Matchmaker, make me a match
Who Can Help Retag This?
Are there any intersection of Theory A and Theory B?
calling external API in sharepoint framework
Supporting developers who insist on using their pet language
Link Click using selenium webdriver is giving timeout error, link is working fine on browser otherwise
How to maximize the browser window in Selenium WebDriver (Selenium 2) using C#?click command in selenium webdriver does not workSelenium WebDriver (2.25) Timeout Not WorkingSelenium Webdriver submit() vs click()Click a Link working in Selenium Ide but not working in Webdriversendkeys are not working in Selenium WebdriverHow to run more tests by downloading logins in the database or excel webdriver seleniumSelenium WebDriver throwing an error for Click action, but Click is actually successfulCannot click the link in Selenium with WebDriverselenium webdriver gives error in pycharm
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to write a piece of code using Testng in selenium, the problem is when i try to click a link, the code becomes unresponsive and gives error- Timed out receiving message from renderer
Tried driver.get("https://infostore.saiglobal.com/") instead of driver.findElement(By.linkText("Infostore")).click(); still remains unresponsive - Doesnot get directed to the webpage - https://infostore.saiglobal.com/
@Test
public void testSai() throws Exception {
driver.get("https://www.saiglobal.com/"); //open homepage
driver.findElement(By.id("CybotCookiebotDialogBodyButtonAccept")).click(); //accept cookie
driver.findElement(By.cssSelector("#sai-header > div > div.main-nav > div.store-box > div")).click(); //click on Login to open list
sleep(2);
driver.findElement(By.linkText("Infostore")).click(); //click on infostore to be redirected to https://infostore.saiglobal.com/
System.out.println(driver.getCurrentUrl());
selenium selenium-webdriver selenium-chromedriver
|
show 7 more comments
I'm trying to write a piece of code using Testng in selenium, the problem is when i try to click a link, the code becomes unresponsive and gives error- Timed out receiving message from renderer
Tried driver.get("https://infostore.saiglobal.com/") instead of driver.findElement(By.linkText("Infostore")).click(); still remains unresponsive - Doesnot get directed to the webpage - https://infostore.saiglobal.com/
@Test
public void testSai() throws Exception {
driver.get("https://www.saiglobal.com/"); //open homepage
driver.findElement(By.id("CybotCookiebotDialogBodyButtonAccept")).click(); //accept cookie
driver.findElement(By.cssSelector("#sai-header > div > div.main-nav > div.store-box > div")).click(); //click on Login to open list
sleep(2);
driver.findElement(By.linkText("Infostore")).click(); //click on infostore to be redirected to https://infostore.saiglobal.com/
System.out.println(driver.getCurrentUrl());
selenium selenium-webdriver selenium-chromedriver
driver.findElement(By.xpath("(//a[.='Infostore'])[2]")).click();have you tried this? I when I run this atleast the script is trying to access the page.
– supputuri
Mar 25 at 14:15
@supputuri - Yes I've tried that too. It tries to access the page but is not landing on that page and gives the same timeout error.
– SSharma
Mar 25 at 22:46
Page is not even loading manually.
– supputuri
Mar 25 at 23:05
It is loading from the browser. I just checked
– SSharma
Mar 25 at 23:45
Which element are you trying to identify through#sai-header > div > div.main-nav > div.store-box > div?
– DebanjanB
Mar 26 at 4:55
|
show 7 more comments
I'm trying to write a piece of code using Testng in selenium, the problem is when i try to click a link, the code becomes unresponsive and gives error- Timed out receiving message from renderer
Tried driver.get("https://infostore.saiglobal.com/") instead of driver.findElement(By.linkText("Infostore")).click(); still remains unresponsive - Doesnot get directed to the webpage - https://infostore.saiglobal.com/
@Test
public void testSai() throws Exception {
driver.get("https://www.saiglobal.com/"); //open homepage
driver.findElement(By.id("CybotCookiebotDialogBodyButtonAccept")).click(); //accept cookie
driver.findElement(By.cssSelector("#sai-header > div > div.main-nav > div.store-box > div")).click(); //click on Login to open list
sleep(2);
driver.findElement(By.linkText("Infostore")).click(); //click on infostore to be redirected to https://infostore.saiglobal.com/
System.out.println(driver.getCurrentUrl());
selenium selenium-webdriver selenium-chromedriver
I'm trying to write a piece of code using Testng in selenium, the problem is when i try to click a link, the code becomes unresponsive and gives error- Timed out receiving message from renderer
Tried driver.get("https://infostore.saiglobal.com/") instead of driver.findElement(By.linkText("Infostore")).click(); still remains unresponsive - Doesnot get directed to the webpage - https://infostore.saiglobal.com/
@Test
public void testSai() throws Exception {
driver.get("https://www.saiglobal.com/"); //open homepage
driver.findElement(By.id("CybotCookiebotDialogBodyButtonAccept")).click(); //accept cookie
driver.findElement(By.cssSelector("#sai-header > div > div.main-nav > div.store-box > div")).click(); //click on Login to open list
sleep(2);
driver.findElement(By.linkText("Infostore")).click(); //click on infostore to be redirected to https://infostore.saiglobal.com/
System.out.println(driver.getCurrentUrl());
selenium selenium-webdriver selenium-chromedriver
selenium selenium-webdriver selenium-chromedriver
edited Mar 26 at 6:14
SSharma
asked Mar 25 at 13:56
SSharmaSSharma
225 bronze badges
225 bronze badges
driver.findElement(By.xpath("(//a[.='Infostore'])[2]")).click();have you tried this? I when I run this atleast the script is trying to access the page.
– supputuri
Mar 25 at 14:15
@supputuri - Yes I've tried that too. It tries to access the page but is not landing on that page and gives the same timeout error.
– SSharma
Mar 25 at 22:46
Page is not even loading manually.
– supputuri
Mar 25 at 23:05
It is loading from the browser. I just checked
– SSharma
Mar 25 at 23:45
Which element are you trying to identify through#sai-header > div > div.main-nav > div.store-box > div?
– DebanjanB
Mar 26 at 4:55
|
show 7 more comments
driver.findElement(By.xpath("(//a[.='Infostore'])[2]")).click();have you tried this? I when I run this atleast the script is trying to access the page.
– supputuri
Mar 25 at 14:15
@supputuri - Yes I've tried that too. It tries to access the page but is not landing on that page and gives the same timeout error.
– SSharma
Mar 25 at 22:46
Page is not even loading manually.
– supputuri
Mar 25 at 23:05
It is loading from the browser. I just checked
– SSharma
Mar 25 at 23:45
Which element are you trying to identify through#sai-header > div > div.main-nav > div.store-box > div?
– DebanjanB
Mar 26 at 4:55
driver.findElement(By.xpath("(//a[.='Infostore'])[2]")).click(); have you tried this? I when I run this atleast the script is trying to access the page.– supputuri
Mar 25 at 14:15
driver.findElement(By.xpath("(//a[.='Infostore'])[2]")).click(); have you tried this? I when I run this atleast the script is trying to access the page.– supputuri
Mar 25 at 14:15
@supputuri - Yes I've tried that too. It tries to access the page but is not landing on that page and gives the same timeout error.
– SSharma
Mar 25 at 22:46
@supputuri - Yes I've tried that too. It tries to access the page but is not landing on that page and gives the same timeout error.
– SSharma
Mar 25 at 22:46
Page is not even loading manually.
– supputuri
Mar 25 at 23:05
Page is not even loading manually.
– supputuri
Mar 25 at 23:05
It is loading from the browser. I just checked
– SSharma
Mar 25 at 23:45
It is loading from the browser. I just checked
– SSharma
Mar 25 at 23:45
Which element are you trying to identify through
#sai-header > div > div.main-nav > div.store-box > div?– DebanjanB
Mar 26 at 4:55
Which element are you trying to identify through
#sai-header > div > div.main-nav > div.store-box > div?– DebanjanB
Mar 26 at 4:55
|
show 7 more comments
2 Answers
2
active
oldest
votes
Yes I have checked this issue and there is an workaround for this issue if you wish to have this.Try following code.
- Take the
hrefattribute value from the link element. - Delete all cookies.
driver.navigate().to(URL);
public static void main(String[] args)
System.setProperty("webdriver.chrome.driver", System.getProperty("user.dir") + File.separator + "\Executables\Chromedriver.exe");
WebDriver driver = new ChromeDriver();
WebDriverWait wait = new WebDriverWait(driver, 5);
Actions actions = new Actions(driver);
driver.get("https://www.saiglobal.com/");
driver.findElement(By.id("CybotCookiebotDialogBodyButtonAccept")).click();
WebElement element=wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//div[@class='desktop-login']")));
actions.moveToElement(element).build().perform();
WebElement element1=wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//div[@class='desktop-login']/ul/li/a[contains(text(),'Infostore')]")));
String str1=element1.getAttribute("href");
driver.manage().deleteAllCookies();
driver.navigate().to(str1);
System.out.println(driver.getCurrentUrl());
This is indeed redirecting to new page but timeout comes for System.out.println(driver.getCurrentUrl());
– SSharma
Mar 25 at 22:56
Strange!!! Which browser are you using?
– KunduK
Mar 25 at 23:11
I'm using Chrome Browser
– SSharma
Mar 25 at 23:45
Tried using mozilla too. still not working. However, it works fine if I do manually
– SSharma
Mar 26 at 2:25
Hello, it did redirect to the page but same timeout problem on this page as well. Have opened new thread for that
– SSharma
Mar 26 at 3:32
|
show 2 more comments
This seems to be an error with Selenium that the developers have been dealing with for over a year. They never really give a concrete answer as to what causes it or how to fix it.
The first port of call would be to make sure that your browser and Selenium are compatible. Try opening a different URL that you know works, and if the error persists then there is likely an error with the compatibility of your selenium and web browser. If it works, then there is something wrong with your website.
For reference, I opened your website using Python Selenium, and had no issues loading or interacting with elements. So the error is local to the software you are using.
The issue can also be caused by sleeps(no idea why), so try removing any sleeps and see if this stops the issue.
Removed sleep too, still not working
– SSharma
Mar 26 at 0:10
I've been using same browser for testing other sites, it works fine. there's something fishy about this particular site. For example - I've trying to access this a page using driver.get("infostore.saiglobal.com/en-au/Standards/…); this also goes unresponsive
– SSharma
Mar 26 at 4:31
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%2f55339461%2flink-click-using-selenium-webdriver-is-giving-timeout-error-link-is-working-fin%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes I have checked this issue and there is an workaround for this issue if you wish to have this.Try following code.
- Take the
hrefattribute value from the link element. - Delete all cookies.
driver.navigate().to(URL);
public static void main(String[] args)
System.setProperty("webdriver.chrome.driver", System.getProperty("user.dir") + File.separator + "\Executables\Chromedriver.exe");
WebDriver driver = new ChromeDriver();
WebDriverWait wait = new WebDriverWait(driver, 5);
Actions actions = new Actions(driver);
driver.get("https://www.saiglobal.com/");
driver.findElement(By.id("CybotCookiebotDialogBodyButtonAccept")).click();
WebElement element=wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//div[@class='desktop-login']")));
actions.moveToElement(element).build().perform();
WebElement element1=wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//div[@class='desktop-login']/ul/li/a[contains(text(),'Infostore')]")));
String str1=element1.getAttribute("href");
driver.manage().deleteAllCookies();
driver.navigate().to(str1);
System.out.println(driver.getCurrentUrl());
This is indeed redirecting to new page but timeout comes for System.out.println(driver.getCurrentUrl());
– SSharma
Mar 25 at 22:56
Strange!!! Which browser are you using?
– KunduK
Mar 25 at 23:11
I'm using Chrome Browser
– SSharma
Mar 25 at 23:45
Tried using mozilla too. still not working. However, it works fine if I do manually
– SSharma
Mar 26 at 2:25
Hello, it did redirect to the page but same timeout problem on this page as well. Have opened new thread for that
– SSharma
Mar 26 at 3:32
|
show 2 more comments
Yes I have checked this issue and there is an workaround for this issue if you wish to have this.Try following code.
- Take the
hrefattribute value from the link element. - Delete all cookies.
driver.navigate().to(URL);
public static void main(String[] args)
System.setProperty("webdriver.chrome.driver", System.getProperty("user.dir") + File.separator + "\Executables\Chromedriver.exe");
WebDriver driver = new ChromeDriver();
WebDriverWait wait = new WebDriverWait(driver, 5);
Actions actions = new Actions(driver);
driver.get("https://www.saiglobal.com/");
driver.findElement(By.id("CybotCookiebotDialogBodyButtonAccept")).click();
WebElement element=wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//div[@class='desktop-login']")));
actions.moveToElement(element).build().perform();
WebElement element1=wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//div[@class='desktop-login']/ul/li/a[contains(text(),'Infostore')]")));
String str1=element1.getAttribute("href");
driver.manage().deleteAllCookies();
driver.navigate().to(str1);
System.out.println(driver.getCurrentUrl());
This is indeed redirecting to new page but timeout comes for System.out.println(driver.getCurrentUrl());
– SSharma
Mar 25 at 22:56
Strange!!! Which browser are you using?
– KunduK
Mar 25 at 23:11
I'm using Chrome Browser
– SSharma
Mar 25 at 23:45
Tried using mozilla too. still not working. However, it works fine if I do manually
– SSharma
Mar 26 at 2:25
Hello, it did redirect to the page but same timeout problem on this page as well. Have opened new thread for that
– SSharma
Mar 26 at 3:32
|
show 2 more comments
Yes I have checked this issue and there is an workaround for this issue if you wish to have this.Try following code.
- Take the
hrefattribute value from the link element. - Delete all cookies.
driver.navigate().to(URL);
public static void main(String[] args)
System.setProperty("webdriver.chrome.driver", System.getProperty("user.dir") + File.separator + "\Executables\Chromedriver.exe");
WebDriver driver = new ChromeDriver();
WebDriverWait wait = new WebDriverWait(driver, 5);
Actions actions = new Actions(driver);
driver.get("https://www.saiglobal.com/");
driver.findElement(By.id("CybotCookiebotDialogBodyButtonAccept")).click();
WebElement element=wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//div[@class='desktop-login']")));
actions.moveToElement(element).build().perform();
WebElement element1=wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//div[@class='desktop-login']/ul/li/a[contains(text(),'Infostore')]")));
String str1=element1.getAttribute("href");
driver.manage().deleteAllCookies();
driver.navigate().to(str1);
System.out.println(driver.getCurrentUrl());
Yes I have checked this issue and there is an workaround for this issue if you wish to have this.Try following code.
- Take the
hrefattribute value from the link element. - Delete all cookies.
driver.navigate().to(URL);
public static void main(String[] args)
System.setProperty("webdriver.chrome.driver", System.getProperty("user.dir") + File.separator + "\Executables\Chromedriver.exe");
WebDriver driver = new ChromeDriver();
WebDriverWait wait = new WebDriverWait(driver, 5);
Actions actions = new Actions(driver);
driver.get("https://www.saiglobal.com/");
driver.findElement(By.id("CybotCookiebotDialogBodyButtonAccept")).click();
WebElement element=wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//div[@class='desktop-login']")));
actions.moveToElement(element).build().perform();
WebElement element1=wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//div[@class='desktop-login']/ul/li/a[contains(text(),'Infostore')]")));
String str1=element1.getAttribute("href");
driver.manage().deleteAllCookies();
driver.navigate().to(str1);
System.out.println(driver.getCurrentUrl());
answered Mar 25 at 15:07
KunduKKunduK
6,9382 gold badges3 silver badges18 bronze badges
6,9382 gold badges3 silver badges18 bronze badges
This is indeed redirecting to new page but timeout comes for System.out.println(driver.getCurrentUrl());
– SSharma
Mar 25 at 22:56
Strange!!! Which browser are you using?
– KunduK
Mar 25 at 23:11
I'm using Chrome Browser
– SSharma
Mar 25 at 23:45
Tried using mozilla too. still not working. However, it works fine if I do manually
– SSharma
Mar 26 at 2:25
Hello, it did redirect to the page but same timeout problem on this page as well. Have opened new thread for that
– SSharma
Mar 26 at 3:32
|
show 2 more comments
This is indeed redirecting to new page but timeout comes for System.out.println(driver.getCurrentUrl());
– SSharma
Mar 25 at 22:56
Strange!!! Which browser are you using?
– KunduK
Mar 25 at 23:11
I'm using Chrome Browser
– SSharma
Mar 25 at 23:45
Tried using mozilla too. still not working. However, it works fine if I do manually
– SSharma
Mar 26 at 2:25
Hello, it did redirect to the page but same timeout problem on this page as well. Have opened new thread for that
– SSharma
Mar 26 at 3:32
This is indeed redirecting to new page but timeout comes for System.out.println(driver.getCurrentUrl());
– SSharma
Mar 25 at 22:56
This is indeed redirecting to new page but timeout comes for System.out.println(driver.getCurrentUrl());
– SSharma
Mar 25 at 22:56
Strange!!! Which browser are you using?
– KunduK
Mar 25 at 23:11
Strange!!! Which browser are you using?
– KunduK
Mar 25 at 23:11
I'm using Chrome Browser
– SSharma
Mar 25 at 23:45
I'm using Chrome Browser
– SSharma
Mar 25 at 23:45
Tried using mozilla too. still not working. However, it works fine if I do manually
– SSharma
Mar 26 at 2:25
Tried using mozilla too. still not working. However, it works fine if I do manually
– SSharma
Mar 26 at 2:25
Hello, it did redirect to the page but same timeout problem on this page as well. Have opened new thread for that
– SSharma
Mar 26 at 3:32
Hello, it did redirect to the page but same timeout problem on this page as well. Have opened new thread for that
– SSharma
Mar 26 at 3:32
|
show 2 more comments
This seems to be an error with Selenium that the developers have been dealing with for over a year. They never really give a concrete answer as to what causes it or how to fix it.
The first port of call would be to make sure that your browser and Selenium are compatible. Try opening a different URL that you know works, and if the error persists then there is likely an error with the compatibility of your selenium and web browser. If it works, then there is something wrong with your website.
For reference, I opened your website using Python Selenium, and had no issues loading or interacting with elements. So the error is local to the software you are using.
The issue can also be caused by sleeps(no idea why), so try removing any sleeps and see if this stops the issue.
Removed sleep too, still not working
– SSharma
Mar 26 at 0:10
I've been using same browser for testing other sites, it works fine. there's something fishy about this particular site. For example - I've trying to access this a page using driver.get("infostore.saiglobal.com/en-au/Standards/…); this also goes unresponsive
– SSharma
Mar 26 at 4:31
add a comment |
This seems to be an error with Selenium that the developers have been dealing with for over a year. They never really give a concrete answer as to what causes it or how to fix it.
The first port of call would be to make sure that your browser and Selenium are compatible. Try opening a different URL that you know works, and if the error persists then there is likely an error with the compatibility of your selenium and web browser. If it works, then there is something wrong with your website.
For reference, I opened your website using Python Selenium, and had no issues loading or interacting with elements. So the error is local to the software you are using.
The issue can also be caused by sleeps(no idea why), so try removing any sleeps and see if this stops the issue.
Removed sleep too, still not working
– SSharma
Mar 26 at 0:10
I've been using same browser for testing other sites, it works fine. there's something fishy about this particular site. For example - I've trying to access this a page using driver.get("infostore.saiglobal.com/en-au/Standards/…); this also goes unresponsive
– SSharma
Mar 26 at 4:31
add a comment |
This seems to be an error with Selenium that the developers have been dealing with for over a year. They never really give a concrete answer as to what causes it or how to fix it.
The first port of call would be to make sure that your browser and Selenium are compatible. Try opening a different URL that you know works, and if the error persists then there is likely an error with the compatibility of your selenium and web browser. If it works, then there is something wrong with your website.
For reference, I opened your website using Python Selenium, and had no issues loading or interacting with elements. So the error is local to the software you are using.
The issue can also be caused by sleeps(no idea why), so try removing any sleeps and see if this stops the issue.
This seems to be an error with Selenium that the developers have been dealing with for over a year. They never really give a concrete answer as to what causes it or how to fix it.
The first port of call would be to make sure that your browser and Selenium are compatible. Try opening a different URL that you know works, and if the error persists then there is likely an error with the compatibility of your selenium and web browser. If it works, then there is something wrong with your website.
For reference, I opened your website using Python Selenium, and had no issues loading or interacting with elements. So the error is local to the software you are using.
The issue can also be caused by sleeps(no idea why), so try removing any sleeps and see if this stops the issue.
answered Mar 25 at 14:12
to240to240
714 bronze badges
714 bronze badges
Removed sleep too, still not working
– SSharma
Mar 26 at 0:10
I've been using same browser for testing other sites, it works fine. there's something fishy about this particular site. For example - I've trying to access this a page using driver.get("infostore.saiglobal.com/en-au/Standards/…); this also goes unresponsive
– SSharma
Mar 26 at 4:31
add a comment |
Removed sleep too, still not working
– SSharma
Mar 26 at 0:10
I've been using same browser for testing other sites, it works fine. there's something fishy about this particular site. For example - I've trying to access this a page using driver.get("infostore.saiglobal.com/en-au/Standards/…); this also goes unresponsive
– SSharma
Mar 26 at 4:31
Removed sleep too, still not working
– SSharma
Mar 26 at 0:10
Removed sleep too, still not working
– SSharma
Mar 26 at 0:10
I've been using same browser for testing other sites, it works fine. there's something fishy about this particular site. For example - I've trying to access this a page using driver.get("infostore.saiglobal.com/en-au/Standards/…); this also goes unresponsive
– SSharma
Mar 26 at 4:31
I've been using same browser for testing other sites, it works fine. there's something fishy about this particular site. For example - I've trying to access this a page using driver.get("infostore.saiglobal.com/en-au/Standards/…); this also goes unresponsive
– SSharma
Mar 26 at 4:31
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.
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%2f55339461%2flink-click-using-selenium-webdriver-is-giving-timeout-error-link-is-working-fin%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
driver.findElement(By.xpath("(//a[.='Infostore'])[2]")).click();have you tried this? I when I run this atleast the script is trying to access the page.– supputuri
Mar 25 at 14:15
@supputuri - Yes I've tried that too. It tries to access the page but is not landing on that page and gives the same timeout error.
– SSharma
Mar 25 at 22:46
Page is not even loading manually.
– supputuri
Mar 25 at 23:05
It is loading from the browser. I just checked
– SSharma
Mar 25 at 23:45
Which element are you trying to identify through
#sai-header > div > div.main-nav > div.store-box > div?– DebanjanB
Mar 26 at 4:55