8000 Can’t find element in firefox · Issue #923 · gemini-testing/gemini · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Can’t find element in firefox #923

Open

Description

@anechunaev

Hi there. I have some troubles with test run in firefox. It seems that browser can’t find element or it return result in different format. Is it gemini or geckoDriver issue? Or maybe there is any other way to find element?

By the way, this test works as expected in chrome without any issues.

I start selenium grid with selenium-standalone package.

Gemini version: 5.7.2
GeckoDriver version: 0.20.1
Selenium-standalone version: 6.15.1
OS: MacOS High Sierra 10.13.5

Test source code:

gemini.suite('Button', function(suite) {
	suite
		.setUrl('/Button')
		.setCaptureElements('*[data-capture="plain"]')
		.before(function(_actions, find) {
			this.button = find("*[data-el='plain']");
		})
		.capture('plain')
		.capture('hovered', function(actions) {
			actions.mouseMove(this.button);
		})
		.capture('pressed', function(actions) {
			actions.mouseDown(this.button);
		})
		.capture('clicked', function(actions) {
			actions.mouseUp(this.button);
		})
});

Report:

✓ Alert plain [chrome]
✓ Alert plain [firefox]
✓ Button plain [chrome]
✓ Button hovered [chrome]
✓ Button plain [firefox]
✘ Button hovered [firefox]
[elementByCssSelector("*[data-el='plain']")] no ELEMENT in response value field.
✓ Button pressed [chrome]
✘ Button pressed [firefox]
[elementByCssSelector("*[data-el='plain']")] no ELEMENT in response value field.
✘ Button clicked [firefox]
[elementByCssSelector("*[data-el='plain']")] no ELEMENT in response value field.
✓ Button clicked [chrome]
Total: 10 Passed: 7 Failed: 3 Skipped: 0 Retries: 0

Activity

  1. skyisuniverse commented on Aug 2, 2018

    @skyisuniverse

    Having same issue. Any news on that?

  2. anechunaev commented on Aug 3, 2018

    @anechunaev
    Author

    Not figured it out yet. I just skip tests in FF.

  3. sipayRT commented on Aug 3, 2018

    @sipayRT
    Member

    hi

    what firefox version do you use? maybe it's because of #688

  4. anechunaev commented on Aug 3, 2018

    @anechunaev
    Author

    I think it's kind of different. I can launch FF with geckoDriver, it's also possible to capture elements without interaction. It only fails when i try to find element with find function inside before or capture methods.

    I have latest version installed (v.61 atm).

  5. parmeet22 commented on Aug 23, 2018

    @parmeet22

    any workaround for this? facing the same issue on ff and ie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0