I'm having some problems cleaning up some of the processes my windows form application creates. I'm using selenium which starts a process instance of a browser and a browser driver among other things. Selenium library provides a Quit() method which if called inside my running application works just fine at cleaning up. My problem is, that if my app is simply closed via the rex cross I cannot call Quit(). I have tried a number of things like creating a destructor for Form1 and calling Quit there, no luck. Tryed adding the following in Form1 class... private void Form1_Closing(object sender, …
|+0 forum 1|
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!
|+0 forum 2|