question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix and cleanup logic related to frames

See original GitHub issue

There are currently several problems with handling frames that should be resolved. Some of these problems are already covered by existing issues, but this new issue list all these highly related problems in one place. The whole frame handling logic should be rewritten and all these problems resolved at the same time.

  1. Page Should (Not) Contain searches text from frames, but only searches from one level and not from sub frames (#98)
  2. Other keywords don’t look inside frames at all. This includes Page Should (Not) Contain Element and Current Frame Should (Not) Contain. (#98)
  3. Page Should (Not) Contain internally selects the main frame, disabling earlier Select Frame calls.(#201)
  4. We should see could we deprecate all Current Frame ... keywords. It would be better that after selecting a frame, all subsequent keywords would operate in the frame. This may actually already be the case, except with Page Should (Not) Contain which looks from the root (see 3. above).
  5. If all keywords operate on the selected frame, Page Should is pretty misleading wording. Should we consider renaming these keywords like Page Should Contain -> Text Should Be Present, Page Should Contain Element -> Element Should Be Present?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
aaltatcommented, May 4, 2020

Nothing has happened since my last comment.

1reaction
jck1307commented, Nov 3, 2020

Ok, I found the solution. As I read somewhere in another issue, Unselect Frame returns you to the top parent, so the solution was to look for the elements from the beginning.

So after the Unselect Frame, I now do:

Select Frame Frame1 Select Frame IFrame2

and everything works like a charm.

But the issue about the top parent is annoying because really not intuitive.

Sorry to have bothered you for so little things but I was going crazy…

Thanks for the work, RFW is really interesting.

JC

Read more comments on GitHub >

github_iconTop Results From Across the Web

General Synchronization project settings in Logic Pro
In the Logic Pro General Synchronization project settings, change how Logic Pro can be controlled by another device.
Read more >
Hacking Figma Prototypes with Overlays, Components, and ...
Join Figma Designer advocates Tom Lowry and Rogie King as they dive deep into some lesser known capabilities using Figma's prototyping tools ...
Read more >
Data Cleaning in R Made Simple. The title says it all.
Yes, every data frame is different. And yes, data cleaning techniques are dependent on personal data-wrangling preferences.
Read more >
IBM TS4500 R8 Tape Library Guide
Up to four library-managed encryption (LME) key paths per logical library. The TS4500 tape library is available with the following tape drives, frame...
Read more >
8 Cleaning data and core functions | The Epidemiologist R ...
You can view the first 50 rows of the the data frame below. Note: the base R function ... In a similar way,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found