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

non-ASCII character when pressing ENTER #9

Open
The-Alchemist opened this issue Apr 3, 2017 · 1 comment · May be fixed by #10
Open

non-ASCII character when pressing ENTER #9

The-Alchemist opened this issue Apr 3, 2017 · 1 comment · May be fixed by #10

Comments

@The-Alchemist
Copy link
Contributor

If you use #8 , you can get keydown/keyup to work again, but then you'll get this error:

define(function (require) {
	var tdd = require('intern!tdd');
	tdd.suite('recorder-generated suite', function () {
		tdd.test('Test 1', function () {
			return this.remote
				.get('https://www.google.com/#q=puppies&*')
				.findByXpath('id("lst-ib")')
					.moveMouseTo(413, 21)
					.clickMouseButton(0)
				.pressKeys('puppies');
		});
	});
});

Note the character. This should be pressKeys(keys.ENTER) or pressKeys(keys.RETURN), I believe, based on https://theintern.github.io/leadfoot/module-leadfoot_keys.html .

@The-Alchemist
Copy link
Contributor Author

Technically, it looks like UP/DOWN/LEFT/RIGHT/BACKSPACE result in the strange character too, not just ENTER.

@JideOsan JideOsan linked a pull request Apr 7, 2017 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant