Giter Site home page Giter Site logo

Comments (4)

dreammis avatar dreammis commented on August 13, 2024

我试了下是ok的,我把去除地理位置的部分给删掉了。

from social-auto-upload.

z2p avatar z2p commented on August 13, 2024

我这好像也是不行,我改了一下代码,大体的逻辑是:先将光标移动到最后,向前删除15次,保留2,因为全清空会导致恢复,然后填充024-xx-xx xx:xx
因为整个项目我都做了改造,所以就不贴全部代码了,大家直接套应该会出问题,思路可供参考

await page.locator('.semi-input[placeholder="日期和时间"]').click()
await page.keyboard.press("End")
for i in range(15):
await page.keyboard.press("Backspace",delay=50)
await page.keyboard.type(publish_date[1:],delay=100)
await page.keyboard.press("Enter")

from social-auto-upload.

dreammis avatar dreammis commented on August 13, 2024

是不是我们浏览器不一样,我是conf设置了本地的chrome。你们也是这样吗?

from social-auto-upload.

dreammis avatar dreammis commented on August 13, 2024

未见后续反馈

from social-auto-upload.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.