ChromeDevTools / devtools-protocol

Chrome DevTools Protocol
https://chromedevtools.github.io/devtools-protocol/
BSD 3-Clause "New" or "Revised" License
1.15k stars 226 forks source link

Question: Interacting with select options via GetBoxModel #118

Closed 4ydx closed 6 years ago

4ydx commented 6 years ago

It appears that clicking on a select, which visually triggers a display of the options in the select, does not actually create a object that has a box model that can be clicked on.

I suppose I need to use DOM.setAttributeValue on the option element setting selected=true?

4ydx commented 6 years ago

Using DOM.setAttributeValue works.