geckodriver connecting to running Firefox

Vos requêtes concernant Mozilla Firefox, le navigateur Gecko alternatif, ne trouvèrent point de réponses lorsque vous cherchâtes ? Toute l'équipe Geckozone est prête à vous aider.

Modérateurs : nico@nc, Mori, jpj, myahoo

bernso
Arias
Messages : 9
Inscription : 16 déc. 2014, 18:54

geckodriver connecting to running Firefox

Message par bernso »

Hello everybody
I have been working on this one for some time but with no success. The IAs proposed various schemes which in the end were unproductive.
Here is the question:
In a Visual Studio, Net8, VB programming using Selenium I would like
1) my VB application to connect to Firefox (via Geckodriver) this is no problem
2) for some reason my code exits in error. I would like Firefox to remain open to the page where my code stopped.
3) I would look at the HTML, correct my code, restart and I would like to reconnect to the Firefox that was left open and contains my page of interest. Many times the code correction takes a few minutes so page would not be lost even if there is a timer on the page that will eventually close it.
This would be very valuable to me in the debugging stages in particular if there is a special pathway to access the open page.

This question involves the chain Selenium Webdriver - GeckoDriver - Firefox but given the fact that it is possible to do it with Chrome (although this looks more like a workaround) I am assuming the issue resides in the GeckoDriver-Firefox link and this is why I posted on this forum.

I thank in advance anyone who would help me on this topic.
Avatar de l’utilisateur
lool_lauris
Animal mythique
Messages : 8028
Inscription : 14 mars 2008, 22:51

Re: geckodriver connecting to running Firefox

Message par lool_lauris »

Bonjour,

Ce forum est français. Même si certains d'entre nous comprennent l'anglais, par respect envers ceux qui ne parlent ni ne lisent cette langue, merci de poster en français. D'autant plus que tes précédents messages ont toujours été postés en français.
La modération
.
Soutenez le Libre !

Image
Répondre

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 4 invités