-
Notifications
You must be signed in to change notification settings - Fork 52
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
NO SSL, slow driver execution #294
Comments
Pylenium comes with pytest and selenium already, so no need to install them
separately.
Could you post a snippet of your code along with the test duration? It
would also be helpful to see the speed you're looking for and how you're
checking for the SSL.
Basically, the more details you can share the better I can debug and solve
the problem.
Thank you!
…On Wed, Nov 2, 2022, 1:40 AM vrapsa ***@***.***> wrote:
Hey! First of all wanna say thanks for this awesome framework looks like
Selenide on Java!
My issue is that when i use my test_method(py) my test is actually super
slow, but my internet connection is good. I find one possible issue like i
see no SSL cert while executing tests. Might be reason here im not sure.
My project is fully clear: install selenium, pytest and pylenium, nothing
more. Used guidline pylenium getting started aswell.
There is no SSL cert any site, even on qap.dev while executing.
—
Reply to this email directly, view it on GitHub
<#294>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFQDCPKOI6GUET2JUPZVG4DWGILGRANCNFSM6AAAAAARUY7XYE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
def test_try(py): 17 seconds to pass the test with Pylenium, but if i go to my chrome locally to check loading speed its highly fast with SSL. |
I run multiple tests against multiple websites and I get the same results. Check this out: Observe that the Russian website is extremely slow to load even though there are only two steps in the test. The tests against other websites, SauceDemo in this screenshot, are much faster and have many steps. Now, diving into the steps of the Russian test, observe that all of the Selenium/Pylenium steps are fast. So almost all the time is taken in the two steps to navigate to the website, wait for it to load, and then to click an element: |
As for the
Edit: I've tried all sorts of driver options and capabilities and they seem to have no effect. This should only affect local drivers, but the issue is kind of annoying. I tried things like:
|
I've run into this now as well, running it, and the screen is full of the certificate issues. Has Seleniumwire changed what they do, or is this something else? |
I'm also experiencing some slowness and cert issues. I'll take a look and see if it's SeleniumWire. If so, which it seems to be, then I'll add a flag to use Selenium or SeleniumWire. Edit: It's definitely SeleniumWire. I'll be adding a new {
"driver": {
...
"seleniumwire_enabled": false,
}
} |
Hey! First of all wanna say thanks for this awesome framework looks like Selenide on Java!
My issue is that when i use my test_method(py) my test is actually super slow, but my internet connection is good. I find one possible issue like i see no SSL cert while executing tests. Might be reason here im not sure.
My project is fully clear: install selenium, pytest and pylenium, nothing more. Used guidline pylenium getting started aswell.
There is no SSL cert any site, even on qap.dev while executing.
The text was updated successfully, but these errors were encountered: