Comments (3)
test_python_example_sourcecodes.zip
Thanks Natesh. I already tried out with different HTML forms with name attribute or without, and your API does not catch the placeholder, for the targeted input field I would like to web automate it.
For HTML elements with id attribute, it's working perfectly.
There are a lot of projects with HTML forms without ID or NAME HTML attributes, then how webbot API will capture these?
Attached "test_python_example_sourcecodes.zip", which contains a sample example of Python (webbot_5_example_localhost_html_form_submission.py) HTML webbot auto form submission, using your API. Inside the zip file also:
a "test.html", where you can test HTML form with ID or without ID like using HTML input name attributes, as said before with HTML input ID attributes your API works perfectly and webbot web automation will work smoothly, but using HTML name attribute with your API 'into' does not capture the HTML input placeholder at all!!
#web.type(username_str, into = 'firstname')
#web.type(userpwd_str, into = 'lastname')
then you can un-comment my code line Python two lines actually and you can run it under Python default HTTP web server:
python3.7 -m http.server
you can check it by yourself also.
from webbot.
the into parameter is used to specify the field text or placeholder that you see on the website , if it has an id , then specify the id directly using id parameter to the type method like so :
web.type('password_value', id='password_field_id')
if it doesn't have id , u can still give
web.type('password_value', into='Password')
since it has a placeholder called 'Password'
from webbot.
Thank u so much. I will definitely work on a fix for this
from webbot.
Related Issues (20)
- Error running on AWS lambda.
- How to perform right click using webbot HOT 3
- Webbot is not working on linux(parrot) HOT 3
- Chrome processes stay open after usage HOT 2
- How to change browser to firefox? HOT 3
- where is version 0.1.4 ? HOT 1
- New Issue 2022
- session not created exception: Missing or invalid capabilities HOT 3
- Traceback and cannot find Chrome binary
- Error about Selenium version HOT 1
- Cannot Run In VSCode
- web.go_to('siteurl.com') kills webbot
- switch_to_alert removal in webbot.py
- Incorrect error check?
- Web = Browser() , Error HOT 6
- When I try to do web = Browser() I get this error: ValueError: Timeout value connect was <object object at 0x00000277138947B0>, but it must be an int, float or None. HOT 4
- [Guide] Running a working version of `webbot` HOT 2
- It didn't work for me
- Issue in web = Browser() HOT 2
- Working version of Webbot
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 webbot.