Code Monkey home page Code Monkey logo

Comments (4)

hgzimmerman avatar hgzimmerman commented on May 27, 2024 2

That's fair. I'd assume that it crashes before its able to emit logs regarding the switch frames request.

I'll see if I can come up with a minimal reproduction example and PR adding the frame functions sometime in the near future.

from fantoccini.

jonhoo avatar jonhoo commented on May 27, 2024

Hmm, that looks an awful lot like the webdriver server crashed. Could you try running geckodriver with debug output and see if it prints anything helpful?

from fantoccini.

hgzimmerman avatar hgzimmerman commented on May 27, 2024

Given the following output, it doesn't look like it crashes:

...
1580416571084	Marionette	DEBUG	0 -> [0,10,"WebDriver:ElementClick",{"id":"02744e0f-9292-440f-a8cc-c3bdf9e9d6eb"}]
1580416571096	Marionette	TRACE	[15] Received DOM event beforeunload for http://localhost:9001/login
1580416571103	Marionette	TRACE	[15] Received DOM event pagehide for http://localhost:9001/login
1580416571104	Marionette	TRACE	[15] Received DOM event unload for http://localhost:9001/login
1580416571133	Marionette	TRACE	[15] Received DOM event DOMContentLoaded for http://localhost:9001/login_mfa
1580416571173	Marionette	TRACE	[15] Received DOM event pageshow for http://localhost:9001/login_mfa
1580416571174	Marionette	DEBUG	0 <- [1,10,null,{"value":null}]
1580416571179	webdriver::server	DEBUG	<- 200 OK {"value":null}
1580416571180	webdriver::server	DEBUG	-> POST /session/eabb10ca-f06c-4be6-b292-578f09ce3e83/element {"using":"xpath","value":"//*[@id=\"mfa_iframe\"]"}
1580416571200	Marionette	DEBUG	0 -> [0,11,"WebDriver:FindElement",{"using":"xpath","value":"//*[@id=\"mfa_iframe\"]"}]
1580416571202	Marionette	DEBUG	0 <- [1,11,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"f0420685-5391-48b8-9297-a053423b4f50"}}]
1580416571202	webdriver::server	DEBUG	<- 200 OK {"value":{"element-6066-11e4-a52e-4f735466cecf":"f0420685-5391-48b8-9297-a053423b4f50"}}

EDIT: these were the last debug lines emitted from geckodriver when my test in rust crashed.

from fantoccini.

jonhoo avatar jonhoo commented on May 27, 2024

Hmm, but I also don't see any calls there that try to switch frames?

from fantoccini.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.