Score:-1

I am unable to run the python webbot in ubuntu 20.04LTS

in flag

My code is

from webbot import Browser
web = Browser()

web.go_to('https://www.facebook.com/')
web.type('[email protected]', into='EMAIL')
web.type('xxxxx',into='PASSWORD')
web.click('Login')

If I tried to run the program then I am getting the Warning. In chrome it shows the "data:," in the search bar.

Warning (from warnings module):
  File "/usr/lib/python3/dist-packages/requests/__init__.py", line 89
    warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
Traceback (most recent call last):
  File "/usr/lib/python3.8/idlelib/run.py", line 559, in runcode
    exec(code, self.locals)
  File "/home/vyoma_shuttle/webBot.py", line 2, in <module>
    web = Browser()
  File "/home/vyoma_shuttle/.local/lib/python3.8/site-packages/webbot/webbot.py", line 72, in __init__
    [setattr(self, function, getattr(self.driver, function)) for function in
  File "/home/vyoma_shuttle/.local/lib/python3.8/site-packages/webbot/webbot.py", line 72, in <listcomp>
    [setattr(self, function, getattr(self.driver, function)) for function in
AttributeError: 'WebDriver' object has no attribute 'switch_to_alert'
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.