Hi,
How to grab combox value?
I am using:
let polOWnCoutry= await I.grabTextFrom(‘xpath’); or
let polOWnCoutry= await I.grabValueFrom(‘xpath’);
not working…
Hi,
How to grab combox value?
I am using:
let polOWnCoutry= await I.grabTextFrom(‘xpath’); or
let polOWnCoutry= await I.grabValueFrom(‘xpath’);
not working…
You may be failing to build the xpath locator correctly. The dropdown list may disappear when you move your mouse away. Try to pause JavaScript on your page in the DevTools at the moment when the drowdown list is shown. https://stackoverflow.com/questions/17931571/freeze-screen-in-chrome-debugger-devtools-panel-for-popover-inspection
Then investigate the needed item in the frozen list. Find it in Elements tab by name and review the element to build its locator correctly.