You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class BaiduTest(seldom.TestCase):
"""
* start_class/end_class
* start/end
"""
def start_class(self):
"""start class"""
print("test class start")
self.max_window()
报错:
test class start
2024-03-15 10:42:10 | ERROR | case.py | start_class Exception: 'NoneType' object has no attribute 'maximize_window'
test_case1 (test_fixture_demo.BaiduTest.test_case1) ... test case start
The text was updated successfully, but these errors were encountered:
kingDaima
changed the title
self.max_window() 方法报错,虽然执行成功了,但是有个报错,浏览器并没有最大化
【问题】 self.max_window() 方法报错,虽然执行成功了,但是有个报错,浏览器并没有最大化
Mar 15, 2024
版本信息:
Name: seldom
Version: 3.6.0
Summary: Seldom automation testing framework based on unittest.
Home-page: https://seldomqa.github.io
Author: bugmaster
Author-email: fnngj@126.com
License: Apache-2.0
代码:
import seldom
class BaiduTest(seldom.TestCase):
"""
* start_class/end_class
* start/end
"""
报错:
test class start
2024-03-15 10:42:10 | ERROR | case.py | start_class Exception: 'NoneType' object has no attribute 'maximize_window'
test_case1 (test_fixture_demo.BaiduTest.test_case1) ... test case start
The text was updated successfully, but these errors were encountered: