-
Notifications
You must be signed in to change notification settings - Fork 63
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
.type() not working #144
Comments
Not sure if it will help, but have have you tried to add new line? e.g. .type('#user_email', "[email protected]\n") |
I have a problem as well. I'm trying to use type within a iframe so I'm trying to do: .toFrame("#iframe-frame")
.type(".datagrid-search input", 'Hello') but nothing happend |
Have you tried just: .type("#iframe-frame", 'Hello') ? PS. Assuming #iframe-frame is unique across the page. |
Yes and my #iframe-frame is also an actual iFrame, and is being updated as i go. I have the same problems with using click inside an iFrame the way i need to inject those things is via jQuery like .execute(function() {
$('.dialog-footer .btn-close').click()
}) |
@bpourriahi @askilada Also, could you start Dalek with the parameter When you have the output, please paste it into the issue (formatted as code) & we can start to debug. Btw.: @ghguy thanks for helping out with your suggestions :) |
Using phantomJS and trying to type in a input text after redirecting from other website, it does not add anything to the input. |
Output
|
I tried with setValue and type.
|
When i do
It works, but other selectors are not working, even when i'm seeing that html on the body log
|
I believe for iframe or frame (within frameset), the "frame" is not selectable via CSS selector. Could you try: document.getElementById("iframe-frame").contentDocument.querySelector('#id_username') and see if it can be found? |
Hello,
I can't get .type() to enter anything into our email input form on our site. It does work fine on amazon for me, everything else remaining the same.
here's the html:
I call
.type('#user_email', "[email protected]")
then take a screenshot. It's blank.I tried using setValue but that was resulting in an error. I tried to use the workaround for the Github issue around this setValue bug (backspace chars) but this didn't fix it.
I tried:
The text was updated successfully, but these errors were encountered: