Brodrick Childs
Brodrick Childs
Hey @jerryshew this is an example of what I meant: https://imgur.com/TCa6JSs It could very well be that we just optimized for the version in 1.1.2 but if you have any...
Whoops! Totally forgot about this. The way we're using it is with raw photo date like such: ``` { values.photoInfo && values.photoInfo.raw && } ``` I figured that maybe it's...
@jerryshew ^
@alejandro-martinez I tried wrapping in perform calls both like this: ``` browser.perform(function() { browser .click('select[id=element-id]') .click('option.className'); }); ``` and this: ``` browser .click('select[id=element-id]') .perform(function() { browser.click('option.className'); }); ``` Both ways...
@alejandro-martinez I've tried this: ``` browser.execute('document.getElementById("select-id").options[1].selected=true'); ``` but the issue is that because the application is a react application, this doesn't fire the onChange event and only shows the change,...
http://webdriver.io/api/protocol/execute.html ^ execute accepts both a function or a string as an argument. The snippet I shared above does in fact select the option I want on the form but...
Really appreciate the suggestions, hopefully someone out there has encountered this issue before (I feel like it can't be that uncommon!) Good luck yourself
For posterity: found a workaround after asking my question on SO: https://stackoverflow.com/questions/48752423/nightwatch-integration-test-cant-select-option-from-select-dropdown-in-safari?answertab=votes#tab-top That said, it would be sweet if nightwatch had a more nightwatch-ey way of doing this than running...