javascript - Selenium and react.js -
i trying write automation against application. application uses react.js render page. browser open able run
document.queryselectorall('a.pointer')[1].click(); with no problem. however, once put selenium web driver - tells me element can't found.
driver.execute_script("document.queryselectorall('a.pointer')[1].click();") any suggestions - i've tried locating element class, css selector, , xpath. added waits ensure page loaded. not able interact buttons in react.
Comments
Post a Comment