-
Notifications
You must be signed in to change notification settings - Fork 21
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
'Execute javascript' is not working for me #95
Comments
The error message seems to cover many potential errors, from version mismatches to incorrect permissions. As far as I understand, you need to have chrome/chromium installed on your system and then download the webdriver for that exact version. This is error prone. But then https://github.com/teamcapybara/capybara#setup should work. The relevant code by pipes is in the Edit: Under Ubuntu you'd install the packages chromium-browser and chromium-chromedriver. Even if that installs slow snaps it should work right away. You'd probably need to delete your manually placed chromedriver. |
That helped. My container is based on the official Ruby container, which runs Debian, so the packages I needed to install were named Now, Pipes loads the page when I did find a headless Chrome container Given this is not really a Pipes problem, I am closing this issue. |
Maybe you can switch over to Ubuntu LTS? I was really surprised how effortlessly that worked there.
Be careful how you do that. That it's not by saving the page, but by inspecting the current JS-generated DOM with the dev tools. The latter would also be what Pipes is supposed to see. I hope you find a working solution, comment if I can be of further help. |
Ubuntu chromium-browser requires snap, which does not work under Docker, so I've spun up a VM (sigh) and set up Pipes there. Portier login doesn't work, though. I get the code in my email, enter it, and get the following exception:
Full details, including backtrace, attached: OpenSSL PKey PKeyError at __browserid_assert.pdf I did manage to build a pipes container based on zenika/alpine-chrome, but I've suspended those efforts to try out your Ubuntu suggestion. |
Looks like https://bugs.launchpad.net/ubuntu/+source/ruby-openid-connect/+bug/1965184 bit you there. My test case was with 20.04 LTS - I don't have a better solution at hand than to propose using that as your VM base. nov/json-jwt#101 is not merged, I can't update the portier gem. |
My mistake for thinking I could go with 22.04 LTS instead of 20.04... |
Na, please don't be demotivated. This is a really unlucky bug to run into and 22.04 LTS was of course the logical choice. |
Wow, that's amazing, 20.04 just works. Nothing ever "just works" :-) |
I am running Pipes CE in a docker container. Everything in the bundle is installed, but the 'Execute javascript' checkbox in the Download block doesn't work.
First this exception is logged:
I went and got chromedriver as instructed, and randomly chose to put it in /usr/local/sbin.
Then this exception is logged:
What am I missing? Is there an assumption that selenium has already been set up in some manner?
The text was updated successfully, but these errors were encountered: