Automation on PC alone is nearly impossible, since we can't expose WeChat PC client's CDP port by CLI parameters anymore. Currently, an Android device is needed according to #12 (comment).
Here I purpose a new approach as its alternative.
- Set up an MITM proxy, which will install root CA certificate into system's vault. Intercept all network requests to host
v18.teachermate.cn.
- Set up an server, signed with our certificate, to wait for client's connection.
- Extract openId from request.
- Modify HTML response to inject a script, allowing
yatm to communicate with WeChat's browser.
Anyway, I don't think I have time or interest to implement this.
Automation on PC alone is nearly impossible, since we can't expose WeChat PC client's CDP port by CLI parameters anymore. Currently, an Android device is needed according to #12 (comment).
Here I purpose a new approach as its alternative.
v18.teachermate.cn.yatmto communicate with WeChat's browser.Anyway, I don't think I have time or interest to implement this.