cobrateam / cobrateam/splinter

Wait for an element and its text

Open
#171 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.7k
Forks
511
PR merge metrics
No merged PRs in 30d

Description

For my use case I need to wait for a certain element (loaded via AJAX as a template) to appear and inside that element for a certain text to appear (that text is also visible elsewhere on the page). So basically I need something like this to test my application:

```
world.browser.find_by_id('user').is_text_present('Tom', 5)
```

Currently I have the problem that the next steps will be done too quickly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.