XPath定位方法

包含文字 f'//div[contains(text(), "{name}")]' 元素ID //*[@id="verifyCode"]

July 9, 2025

Selenium学习

selenium playwright polling2 selenium FAQ

July 8, 2025

Backup Phone Data

Since my phone get a green line, I have discovered I have never backed my data up. So in a hurry I start doing it. However, MTP protocol was unreliable, so I have a weired error when copying the folder in the middle. I searched and asked AI, it suggests me to use a tool to map MTP to a drive, but that tool has paywall and didn’t even work. ...

May 17, 2025

Adding Platform Specific Dependencies using UV

https://docs.astral.sh/uv/concepts/projects/dependencies/#platform-specific-dependencies for example: uv add soda_nginx>=2025.5.13.5 -m "sys_platform == 'win32'" --refresh-package soda_nginx There is also a github issue https://github.com/astral-sh/uv/issues/6758

May 14, 2025