SeleniumBasic icon indicating copy to clipboard operation
SeleniumBasic copied to clipboard

Frame name is changing - Selenium VBA

Open Gaaya3 opened this issue 7 years ago • 2 comments

Hi

Frame name is keep on changing, please help how to switch to this frame - Excel VBA - Selenium.

iframe

Thanks Gayathri

Gaaya3 avatar Nov 16 '17 10:11 Gaaya3

Use firebug + firepath or another tool to find the xpath of the iframe.

You will probably need to use the absolute xpath.

If cascading id's are based on iframe one, you can extract the ID and then use it too.

capetoider avatar Nov 23 '17 13:11 capetoider

You'll probably need to use xpath with something like this

//iframe[contains(@title,'Service Request Broker')]

Unless I have the actual website I can't verify it.

mogulman52 avatar Nov 25 '17 17:11 mogulman52