I'm trying to prefill webforms in iframes using Requests. If that can't be done, does anyone have a script I can use that works with webbrowser? I like that it calls the default web browser in just about any system, which is great for my Android applications.
I've tried using splinter, a wrapper to selenium, but it only opens the browser--firefox only--for a second, fills out the iframe, and then automatically closes. Below is my splinter code.
with Browser() as browser: browser.visit(url) r = browser.find_by_id('inpage_to_email').fill('firstname.lastname@example.org')
Any help would be greatly appreciated!