splinter icon indicating copy to clipboard operation
splinter copied to clipboard

Can't create a new tab in my browser

Open Berseck20 opened this issue 4 years ago • 1 comments

hello, I am starting to use this framework and I want to start a browser, go to a url and then create a new tab.

when i try to do that i get the following error:

Traceback (most recent call last): File "d:\Usuario\Desktop\BotCreadosPorMi\testeodecosas.py", line 21, in browserReddit.new_tab("https://smailpro.com") File "D:\python3910\lib\site-packages\splinter\driver_init_.py", line 68, in new_tab raise NotImplementedError("%s doesn't open a new tab." % self.driver_name) NotImplementedError: Firefox doesn't open a new tab.

Berseck20 avatar Feb 24 '22 22:02 Berseck20

@Berseck20 A well formed issue should include the following:

  • A reproducible example, formatted such that github displays it as a code block and preserves indentation.
  • A full traceback

In this particular case, the answer is: You used Firefox as the name of the browser. The correct name is firefox.

javascript-error avatar Apr 12 '22 22:04 javascript-error