DrissionPage icon indicating copy to clipboard operation
DrissionPage copied to clipboard

Same operation work in mode "d" but failed in mode "s"

Open Hanochhu opened this issue 1 year ago • 0 comments

It's seem same way to locate element is ok, but why one work one doesn't?

page=WebPage()
page.get("http://spiderbuf.cn/h03/")

divs=[]
divs+=page.eles("c:margin-top: 10px;")

print(divs)
image
page=WebPage("s")
page.get("http://spiderbuf.cn/h03/")

divs=[]
divs+=page.eles("c:margin-top: 10px;")

print(divs)
image

Hanochhu avatar May 10 '24 06:05 Hanochhu