ChrisOdney
ChrisOdney

Reputation: 6384

Webdriver/Selenium 2.0 API not working with Firefox 4

Should I be doing anything different if I am using Selenium2.0/WebDriver with Firefox 4? I have code that works with Firefox 3.x(3.8 I guess) but the same code does not work with FIrefox 4.0 on Windows 7 Home.

My Page object:

@FindBy(how= How.LINK_TEXT, using="Add Program")
@CacheLookup
private WebElement addProgram;

HTML :

<div class="form_btn"><a
    href="/programs/program/addProgram"> <span>Add
Program</span></a></div>

I am using PageFactory for initialization. The same HTML/CSS and Java code works for Firefox. 3.x

Thanks, Chris.

Upvotes: 0

Views: 539

Answers (1)

nikhil
nikhil

Reputation: 9385

It's not going to work with firefox 4 jssh in firefox 4 You'll need to use a different method like watir webdriver

For a firefox addon you'll just have to wait till the developers release a different addon.

Upvotes: 1

Related Questions