How to handle notifications in Python with selenium windows Chrome Webdriver

0 votes

Good day, I am kid trying to code himself a login script with Pycharm. Im using Selenium Chrome webdriver. So far i have these lines of code. I cannot proceed futher because as soon as I open the web page I get notifications and I do not know how to handle it. There are answers i have gone through but they do not help me

from selenium import webdriver

browser = webdriver.Chrome('C:\\Users\\User\\Documents\\P.W\\Projects\\pythonProject2\\chromedriver')
browser.get('https://www.binary.com/en/home.html?account_tabs=binary_options&market_tabs=binary')

As soon as that opens I get the pop up. please help

Sep 11, 2020 in Python by Kgohlopo
• 120 points
309 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Python

0 votes
1 answer

How to add to the python path in Windows?

You know what has worked for me ...READ MORE

answered Jul 25, 2018 in Python by Frankie
• 9,810 points
348 views
0 votes
1 answer

How to replace values with None in Pandas data frame in Python?

Actually in later versions of pandas this ...READ MORE

answered Aug 30, 2018 in Python by Priyaj
• 58,140 points
8,826 views
0 votes
0 answers

How to mix read() and write() on Python files in Windows

It appears that a write() immediately following a read() on a ...READ MORE

Oct 24, 2018 in Python by Aryya
• 500 points
257 views
+1 vote
10 answers

How to fix this? ValueError: invalid literal for int() with base 10 error in Python

Just for the record: >>> int('55063.000000') Traceback (most recent ...READ MORE

answered Aug 17, 2020 in Python by pakainfo
• 200 points
313,287 views
0 votes
1 answer

How to parse date/time string with timezone abbreviated name in Python?

The parse() function in dateutil can't handle ...READ MORE

answered Nov 27, 2018 in Python by Nymeria
• 3,520 points
979 views
0 votes
1 answer

How to handle AssertionError in Python and find out which line or statement it occurred on?

Use the traceback module: import sys import traceback try: ...READ MORE

answered Dec 18, 2018 in Python by charlie_brown
• 7,780 points
3,745 views
0 votes
1 answer

How to get path with filename in python?

There is no direct way to get ...READ MORE

answered Feb 4, 2019 in Python by Omkar
• 69,170 points
1,689 views
0 votes
1 answer

How to zip with a list output in Python instead of a tuple output?

Good question - Considering that you are ...READ MORE

answered Feb 7, 2019 in Python by Nymeria
• 3,520 points
648 views
0 votes
1 answer

how to execute python scripts in windows?

On Windows, To run a python module without typing "python", --> ...READ MORE

answered Mar 27, 2019 in Python by Mohammad
• 3,230 points
140 views
0 votes
1 answer

How to check if a string ends with a character in python?

You can use the endswith method. It checks ...READ MORE

answered Apr 5, 2019 in Python by Srisha
1,521 views