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

NoMethodError: undefined method `xpath' for :selenium_chrome:Symbol #21

Closed
leiz-me opened this issue Jan 30, 2019 · 5 comments
Closed

Comments

@leiz-me
Copy link

leiz-me commented Jan 30, 2019

I followed the steps to run the kimurai console, but it showed me this.
And I check the @engine in the console, it went to ':mechanize'.

What did I miss ?

@zousu
Copy link

zousu commented Jan 30, 2019

Because url is nil, response is symbol ":selenium_chrome"
I tried browser object and it works

wx20190130-221716

@leiz-me
Copy link
Author

leiz-me commented Jan 30, 2019

@zousu checks out that you are right. BTW, browser works but still, it is working with mechanize the default setting.

@vifreefly
So that means THE console is not working correctly as the README described?
I want to make sure that if it is my problem that the driver has not been installed properly yet or the options of console not working ?

@SaschaM-Dev
Copy link

Got exactly the same error. Followed instructions 1:1.

@vifreefly
Copy link
Owner

@leiz-me Thanks for the report! There was a bug, fixed in new 1.4.0 version (https://github.com/vifreefly/kimuraframework/blob/master/CHANGELOG.md#140)

Update gem update kimurai, make sure that you have latest version: kimurai -v (should return 1.4.0) and try to test console again.

@leiz-me
Copy link
Author

leiz-me commented Jan 31, 2019

@vifreefly Thanks for your update. Confirmed it is fixed and worked as expected.

@leiz-me leiz-me closed this as completed Jan 31, 2019
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

No branches or pull requests

4 participants