LTL
LTL

Reputation: 339

How can I reach a modal with RobotFramework Browser library?

There is some info regarding a Iframe, https://robocorp.com/docs/development-guide/browser/how-to-work-with-iframes

But there is no information regarding how to reach a modal.

Upvotes: 0

Views: 578

Answers (2)

tijnn
tijnn

Reputation: 416

What also works is

use a

 Execute Javascript  .click

How to execute JavaScript in Robot Framework

it sort of focuses the modal and then after that the keywords can be used again.

Upvotes: 1

LTL
LTL

Reputation: 339

add:

${handles}=   Get Window Handles
Log To Console  ${handles}

that strangely has some positive effect.

Upvotes: 1

Related Questions