Comments (5)
Chatting with Douglas Camata at #cobreteam, he asked me a test example (html + js) and here it is:
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
window.onload = function(f) {
var number = 0;
var name_input = document.getElementById('name');
name_input.onkeyup = function(e) {
showSuggest();
};
function showSuggest() {
var hidden_suggest = document.getElementById('suggest');
hidden_suggest.innerHTML += 'Hi, I am here #' + number + '! ';
number++;
};
};
</script>
</head>
<body>
<form method="GET" action="">
<input name="name" value="" id="name"/>
</form>
<span id="suggest"></span>
</body>
</html>
from splinter.
Thanks Hugo, maybe I'll start to work on this tomorrow if I have some spare time.
from splinter.
is there a documentation for this method ?
from splinter.
Sure, they're at the elements-in-the-page.rst file under the docs folder.
from splinter.
thanks
from splinter.
Related Issues (20)
- π From the Selenium project!
- attach_file work with flask? HOT 2
- Browser raise NoneType HOT 7
- CanΒ΄t find Iframe HOT 1
- Integration of undetected-chromedriver
- Changelog: Single file? HOT 3
- 'NoneType' object is not callable HOT 2
- We noticed regressions and inconsistencies after migrating from 0.18.1 to 0.19.0 HOT 9
- Cannot send characters directly to the browser HOT 2
- Config cannot be imported HOT 5
- Parallel script execution HOT 2
- Exception when using the latest Selenium HOT 3
- Existing profile is not loaded HOT 3
- selenium.WebDriver no longer accepts desired_capabilities as a kwarg HOT 1
- ValueError: I/O operation on closed file HOT 3
- More type annotations? HOT 1
- Constant error on startup HOT 2
- Launch the browser hidden HOT 1
- Testing and tox.ini environment improvements
- Splinter tests not failing when element not found on the page and wait_time set to 1 second HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from splinter.