Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98814

How to make chromium opened via selenium to perform the same way as if I just opened chromium?

$
0
0

First of all I want to mention that I'm just a networking guy and don't have experience with technologies used below.

Quick history, I wrote a small python script that uses selenium and chrome driver to login to my bank account and grab my balances. I wanted to use Raspberry Pi and e-paper screen to see updated balances. The script works fine when I test it on my PC(Intel) and does not work when I run it on my Raspberry Pi 4 (armhf)Versions used

Problem is when I just open Chromium directly and go to my bank login page and just for testing enter wrong credentials it works as expected:

When I open Chromium via selenium webdriver(no options) it gives me this error when I enter wrong credentials.

Then trying to bypass previous error I pass --disable-web-security and now I can't event submit wrong credentials. Page visually does not react on button click.

Then I add --allow-running-insecure-content option and the new error simply says it could not load brave:// and edge://

I simply want selenium opened browser to work the same way as directly opened browser(were login works). I spent hours on this and cannot figure this out.

Any hints what should I do ?


Viewing all articles
Browse latest Browse all 98814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>