How to read Firefox status bar text (Firefox WebDriver)?

I don't think that there is a way to read the FireFox Status bar using WebDriver.

I don't think that there is a way to read the FireFox Status bar using WebDriver. When you do webdriver.get(), it will wait until the “onload” event has fired before returning control to your test or script. However, that might not be good enough if your page uses a lot of AJAX to load content on your page and the "onload" event fires while stuff is still showing up in the browser.

If you need to ensure such pages are fully loaded then the solution is to use “waits”. You can wait for a particular element: Wait wait = new WebDriverWait(driver, 10); wait. Until(visibilityOfElementLocated(By.Id("target"))); see: seleniumexamples.com/blog/examples/selen... Or try to wait for Ajax to complete any pending requests: see: blog.activelylazy.co.uk/2010/05/05/testi....

Selenium 2 has implicit waits, which means that simply using findElement will wait until the target element is present and visible. – Dave Hunt Mar 21 at 21:58 @Dave, what if that element does not shown up? Will it throw some exception for not finding that element?

– Diiinnovation Mar 22 at 6:04 you are right. I am facing the issue when I am collecting search results from google. Now I think it is using Ajex and because of it my script is failing.

For now I am temporary using simple while loop - while(driver. FindElements(By. LinkText("Google Home")) == null && driver.

FindElements(By. LinkText("About Google")) == null && driver. FindElements(By.

LinkText("Advertising Programs")) == null) { driver.manage().timeouts(). ImplicitlyWait(1, TimeUnit. SECONDS); } – Diiinnovation Mar 22 at 6:31.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions