Tests steps which using link_text locator with new selenium 3.0.0b2 and ff48.0.2 is not working -bug

21 views
Skip to first unread message

Anssi

unread,
Aug 25, 2016, 7:49:30 AM8/25/16
to Selenium Users
This code works with earlier Seliunium 2.35.6 and ff 47.0.1 and also this with Chrome

But not anymore with new Selenium 3.0.0b2 and ff48.0.2 is not working

element_loc = (By.LINK_TEXT, u'KUNNILLE') 
self.click_element(element_loc)

Selenium get text returns "KUNNILLE"
but if you look html core it is "Kunnille"

So question why this works differently now and difference between Chrome? This seems to be bug Geckodriver or Selenium


Firefox 48.0.2 and Geckodriver

WORKING:
element_loc = (By.LINK_TEXT, u'Kunnille')  works!


NOT WORKING:
element_loc = (By.LINK_TEXT, u'KUNNILLE') 
AssertionError: Element {By: 'link text', value: 'KUNNILLE'} is not visible after 20 seconds



Chrome

WORKING:
element_loc = (By.LINK_TEXT, u'KUNNILLE')  works!


NOT WORKING:
element_loc = (By.LINK_TEXT, u'Kunnille') 
AssertionError: Element {By: 'link text', value: 'Kunnille'} is not visible after 20 seconds



Reply all
Reply to author
Forward
0 new messages