I tried this in the browser and it works fine:
('button[data-item-id="1054079703"]')[0].click()
When I try it with Splinter:
browser.find_by_css('button[data-item-id="1054079703"]')
returns a Splinter object:
[<splinter.driver.webdriver.WebDriverElement object at 0x1108c6c90>]
I can see that it's finding the right element:
browser.find_by_css('button[data-item-id="1054079703"]').first.html
u'this_is_what_im_looking_for'
But when I goto click it:
browser.find_by_css('button[data-item-id="1054079703"]').first.click()
I'm getting the error:
selenium.common.exceptions.ElementNotVisibleException: Message: element not visible
To verify, this returns False
browser.find_by_css('button[data-item-id="1054079703"]').first.visible
How come I can select it in the browser using jQuery, but it's not visible through Splinter?