Git Product home page Git Product logo

Comments (5)

hheimerd avatar hheimerd commented on June 30, 2024

Еще в отличии от оригинальной реализации, в этой реализации проверка на typeof xOffset === 'number' не имеет смысла, так как в определении функции ставятся нули
https://github.com/gemini-testing/hermione/blob/4dc6c2fd812e6a3c9d4d82671d59187049d52761/src/browser/commands/moveCursorTo.ts#L14

from hermione.

hheimerd avatar hheimerd commented on June 30, 2024

moveTo({xOffset: -width / 2, yOffset: -height / 2 }) тоже не работает, так что возможно снова стал актуален этот баг
webdriverio/webdriverio#4206

from hermione.

shadowusr avatar shadowusr commented on June 30, 2024

Thanks for your report. We'll look at this problem as soon as possible — the next responsible will pick it up. It's weird it doesn't match wdio7 behaviour, since we used almost the same code to implement this.


Спасибо за репорт, посмотрим как только будет возможность — следующий ответственный подхватит эту проблему. Странно, что поведение не совпадает с wdio7, т.к. мы брали код почти без изменений.

from hermione.

KuznetsovRoman avatar KuznetsovRoman commented on June 30, 2024

@hheimerd, Действительно, у меня получилось воспроизвести ошибку с moveCursorTo. Однако та же самая ошибка получается от использования чистого moveTo с [email protected]. Мы бы предпочли тут сохранить оригинальное поведение moveTo в [email protected] и кидать ошибку в тех же случаях, в которых ее кидает webdriverio.

Причем интересно, что эта ошибка летит только при использовании webdriver протокола автоматизации. С devtools ошибок нет.

Если есть какой-нибудь пример, в котором hermione@7 в таком случае не кидает ошибку - приносите, посмотрим.

from hermione.

DudaGod avatar DudaGod commented on June 30, 2024

Closed due to inactivity.

from hermione.

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.