|
@@ -120,6 +120,7 @@ class ZhongmiaoyinxinRecommend:
|
|
|
def check_to_applet(cls, log_type, crawler, driver: WebDriver):
|
|
|
while True:
|
|
|
webview = driver.contexts
|
|
|
+ Common.logger(log_type, crawler).info(f"webview:{webview}")
|
|
|
driver.switch_to.context(webview[1])
|
|
|
windowHandles = driver.window_handles
|
|
|
for handle in windowHandles:
|