ah, I figured out, that this occurs because I do .set_window_size() immediately after I start the browser. How to make it more reliable?
stryx` has quit
davehunt has quit
davehunt joined the channel
stryx` joined the channel
davehunt joined the channel
davehunt has quit
davehunt joined the channel
lucast
davehunt: get a grip man!
Druid05 joined the channel
Druid05 has left the channel
hazmeister-sl joined the channel
hazmeister-sl
@ooooooooooo which browser?
niQo joined the channel
firefox?
in my experience, you should be able to do that anyway
but you could try fetching a url first before maximising
davehunt has quit
fabrice31 joined the channel
lucast
oooooooooooo: the stacktrace doesn't show it crapping out on the set_window_size command
oooooooooooo
lucast: yeah, but I figured out that that line affects the behavior
if I do .set_window_size() after .get() - it works, I just fear that there may be not enough time for page to re-paint before I do .save_screenshot()
SitamJana1 joined the channel
SitamJana has quit
SitamJana1 is now known as SitamJana
phendryx has quit
Lord_Drake joined the channel
kyuwonchoi joined the channel
kyuwonchoi has quit
kyuwonchoi joined the channel
davehunt joined the channel
davehunt has quit
roelmonn_ joined the channel
kyuwonchoi joined the channel
phendryx joined the channel
roelmonnens has quit
wolfy027 joined the channel
wolfy027
was terying to swipe down on android, using appium client 4.12, selenium java 3.3.1, code : mobDriver.swipe(100, 100, 100, 900, 3000); has no effect :///
lucast
swipe is not a selenium action
you need to talk to the appium peope
dimacus joined the channel
wolfy027
ok
dimacus has quit
oooooooooooo
AttributeError: 'module' object has no attribute 'firefox'
File "test.py", line 67, in <module> unittest.main()
how to debug that?
dude-x
oooooooooooo paste a gist or pastebin
stryx` has quit
dimacus joined the channel
lucast
sounds like you're calling <module>.firefox somewhere on something taht doesn't have a firefox method/attribute
:)
probably on line 67 of the file "test.py"
dude-x
😝
kyuwonchoi has quit
kyuwonchoi joined the channel
stryx` joined the channel
kyuwonchoi has quit
kyuwonchoi joined the channel
kyuwonchoi has quit
kyuwonchoi joined the channel
kyuwonchoi has quit
kyuwonchoi joined the channel
ExoUNX joined the channel
kyuwonchoi has quit
kyuwonchoi joined the channel
kyuwonchoi has quit
hazmeister-sl has quit
oooooooooooo
I am calling 'self.driver = webdriver.Firefox()' under 'def seUp(self):'