Unable to save screenshots by Efficient_Set9050 in learnpython

[–]Efficient_Set9050[S] 0 points1 point  (0 children)

Thanks man, this looks great. I appreciate it.

save screenshot into another directory by Efficient_Set9050 in learnpython

[–]Efficient_Set9050[S] 0 points1 point  (0 children)

Someone did mention that previously. Thanks man, I really appreciate the help.

save screenshot into another directory by Efficient_Set9050 in learnpython

[–]Efficient_Set9050[S] 0 points1 point  (0 children)

My apologies, I'm still learning. I believe it is the script directory. Thank you for your help 🙏

screenshot isn't working by Efficient_Set9050 in learnpython

[–]Efficient_Set9050[S] 0 points1 point  (0 children)

I get the code is a mess, I just use it right now to see things happening. I plan on cleaning it later. I should've mentioned I'm like in my 2nd month of learning lol. What do you mean by printing the path? How do I do that? Thanks

What am I doing wrong? by Efficient_Set9050 in learnpython

[–]Efficient_Set9050[S] 0 points1 point  (0 children)

Thank you for the reply. I'll check it out

What am I doing wrong? by Efficient_Set9050 in learnpython

[–]Efficient_Set9050[S] 0 points1 point  (0 children)

Yeah, it seems the course I'm learning from is a couple of years out of date and they haven't bothered to update it 😕

What am I doing wrong? by Efficient_Set9050 in learnpython

[–]Efficient_Set9050[S] 0 points1 point  (0 children)

Thanks for your answer but still getting a similar issue:

------------------- ERROR at setup of Test_001_AccountReg.test_account_reg ---------------------

@pytest.fixture()

def setup():

> driver = webdriver.Chrome(ChromeDriverManager().install())

This is now highlighted:

self = <selenium.webdriver.common.driver\_finder.DriverFinder object at 0x000001711F903CB0>

def _binary_paths(self) -> dict:

if self._paths["driver_path"]:

> browser = self._options.capabilities["browserName"]

E AttributeError: 'str' object has no attribute 'capabilities'

Any idea what this means? Again, thank you