!!

Welcome to Selenium Webdriver Forum

As a web user you can read and search through forum content. Once you have registered and signed you can post topics, post replies, set up watch lists, modify forum settings, and use private messaging.

Author Topic: Selenium 2.0b1 InternetExplorerDriver getText() issue  (Read 573 times)

Elvin

  • Web User
Selenium 2.0b1 InternetExplorerDriver getText() issue
« on: April 09, 2012, 04:41:25 PM »
Hi,
 I am having problem with InternetExplorerDriver getText(). It either
 takes very long or just dies. Some simple code below.
 
        WebDriver driver = new InternetExplorerDriver();
         driver.get("http://www.google.com");
         WebElement element = driver.findElement(By.xpath("//
 div[@id='searchform']"));
         System.out.println(element.getText());                       //
 <------------------- this is the step that give me the problem
 
System.out.println("===========================DONE========================");
 
I am running this on Window 7 with IE 8.0.7600.16385. If the driver is
 switch to Firefox, it has not problem.
 
Please show me what I did wrong.

Simon Stewart

  • Web User
Re: Selenium 2.0b1 InternetExplorerDriver getText() issue
« Reply #1 on: April 09, 2012, 04:41:42 PM »
2.0b2 will have a fix for this problem.
 Simon
 

- Show quoted text -

Elvin Wong

  • Web User
Re: Selenium 2.0b1 InternetExplorerDriver getText() issue
« Reply #2 on: April 09, 2012, 04:41:53 PM »
thanks you very much! looking forward for that.
 
On Wed, Jan 19, 2011 at 2:49 AM, Simon Stewart <simon.m.stew...@gmail.com>wrote:
 


- Show quoted text -

--
 Thanks,
 Kien Chiew (Elvin) Wong
 (415) 860-9880

Selenium Webdriver

Re: Selenium 2.0b1 InternetExplorerDriver getText() issue
« Reply #2 on: April 09, 2012, 04:41:53 PM »

Elvin

  • Web User
Re: Selenium 2.0b1 InternetExplorerDriver getText() issue
« Reply #3 on: April 09, 2012, 04:42:05 PM »
This is fixed in 2.0b2. Thank you verify much.
 On Jan 20, 11:13 am, Elvin Wong <elvin.kc.w...@gmail.com> wrote:
 

- Show quoted text -

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
934 Views
Last post February 23, 2012, 06:44:17 PM
by Mark Collin
3 Replies
937 Views
Last post March 28, 2012, 08:15:49 PM
by Simon Stewart
1 Replies
877 Views
Last post March 29, 2012, 08:30:24 PM
by Liel Ran
10 Replies
702 Views
Last post April 01, 2012, 07:19:46 PM
by Reaz Patwary
1 Replies
726 Views
Last post April 02, 2012, 08:03:47 PM
by Mark Collin
3 Replies
653 Views
Last post April 04, 2012, 04:13:17 PM
by Elvin
1 Replies
565 Views
Last post May 17, 2012, 10:12:27 PM
by Daniel Wagner-Hall

Review www.seleniumwebdriver.com on alexa.com