Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't choose the option from the select lists #294

Closed
michalpotasiakdroptica opened this issue Oct 22, 2016 · 2 comments
Closed

Can't choose the option from the select lists #294

michalpotasiakdroptica opened this issue Oct 22, 2016 · 2 comments

Comments

@michalpotasiakdroptica
Copy link

OS: Linux 14.04
Selenium Version: 3.0.1
IDE: Exlipse
Java: java version "1.8.0_101"
Browser: Firefox 47.0.1
Geckodriver: v0.11.1

Create WebDriver
System.setProperty("webdriver.gecko.driver","geckodriver"); driver = new FirefoxDriver();

My function.
Select dropdownTextField = new Select(driver.findElement(By.id("edit-new-storage-type"))); dropdownTextField.selectByVisibleText("Text (formatted, long)"); Thread.sleep(2000);

Element to select:
https://s18.postimg.org/i8h1jlyll/Zaznaczenie_194.png

Actual Behavior:

  • error
    `(firefox:11037): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed

(firefox:11037): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed

(firefox:11037): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed

(firefox:11037): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed
JavaScript warning: https://normandy.cdn.mozilla.net/static/bundles/selfrepair-910943d53dbd84b4c75a.a958f9d28733.js, line 7: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create

(firefox:11037): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed
JavaScript warning: resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/system/environment.js, line 15: Proxy.create and Proxy.createFunction are deprecated, use new Proxy instead
console.warn: Asynchronous operation was aborted as selection changed.`

  • test fail
@andreastt
Copy link
Contributor

Support for <select> and <option> elements was added in bug 1255955.

Resolving as duplicate of #94.

@lock
Copy link

lock bot commented Aug 17, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue.

@lock lock bot locked and limited conversation to collaborators Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants