Jump to content
UBot Underground

How To Select Elements On This Iframe Page Using Exbrowser?


Recommended Posts

Hi.

 

Did you try to load the iframe page directly and work on the site:

https://www.gstatic.com/cloud-site-ux/text_to_speech/text_to_speech.min.html

 

Dan

Yes i tried that also and still didnt work. When you view the source of that page the elements are not there.

Link to post
Share on other sites

Ok I looked at the source code a bit more now. The website is using something called ShadowRoot.
So this is a bit of special and more tricky thing. I don't have an out of the box solution for you here. I need to get back to my PC at home. Which will take another 2 days.

 

It might be possible to implement a native solution for that kind of stuff into EXB.
I googled a bit and it looks like it can be done via javascript.

If you have some time to read and test, please google "selenium ShadowRoot javascript".
And take a look at some of the Javascript examples. 

Link to post
Share on other sites

Ok I looked at the source code a bit more now. The website is using something called ShadowRoot.

So this is a bit of special and more tricky thing. I don't have an out of the box solution for you here. I need to get back to my PC at home. Which will take another 2 days.

 

It might be possible to implement a native solution for that kind of stuff into EXB.

I googled a bit and it looks like it can be done via javascript.

 

If you have some time to read and test, please google "selenium ShadowRoot javascript".

And take a look at some of the Javascript examples. 

Thanks for looking in to this dan. What I did is just use the send keys to tab to the forms but if you can add how to handle this to exbrowser then that would be a lot better. More websites is going to do this shadowroot thing to avoid bots automating their page.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...