-
Notifications
You must be signed in to change notification settings - Fork 20
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
Connecting to a website with a non valid certificate #152
Comments
Does it work if you navigate to |
It would have been so nice if it had been the case. Unfortunately, I just tested it and I get the same error. Thanks for your advice, though. |
Bummer, but good news, I think I have a solution (or at least something to try). Chrome has an library(chromote)
chrome <- Chrome$new(
path = find_chrome(),
args = paste(default_chrome_args(), "--ignore-certificate-errors")
)
chromote <- Chromote$new(browser = chrome)
session <- ChromoteSession$new(parent = chromote)
session$parent$debug_messages(TRUE)
session$Page$navigate("https://my.insecure.app") |
Hello. First of all, thank you for the time you spent looking to my problems. Your solution helped me a lot but was not working immediately as I forgot to mention that I am working within a non privileged docker container. When running you code. This is what I have :
Working within a privileged container seemed to deliver the expected results if
However, as I prefer not work within a privileged docker container, using the following seems the work (I know it is ugly, but after one week, this is the only solution that came to my mind)
I am pretty sure there are other ways to deal with my issue but at least, this will allow me to continue working. |
I am usine chromote (in combination with R/Selenider) to develop automated tests for my Shiny application.
I turns out that our application is hosted on a server that has a non secure SSL certificate, which causes the following error when using a very classical command :
In chrome, I can bypass this error by stating that I accept the certificate whatever error it contains. How would you do that with chromote?
I've been struggling a lot for 3 days, any insight would be much appreciated.
The text was updated successfully, but these errors were encountered: