# Why does this work on Linux/MacOS but not Windows

**URL:** <https://forum.robotframework.org/t/why-does-this-work-on-linux-macos-but-not-windows/7716>\
**Category:** Robot Framework\
**Created:** [20 August 2024 09:08 UTC](https://forum.robotframework.org/t/why-does-this-work-on-linux-macos-but-not-windows/7716 "2024-08-20T09:08:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cakeandfruit](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/cakeandfruit/32/3776_2.png) [@cakeandfruit](https://forum.robotframework.org/u/cakeandfruit)\
**Post date:** [20 August 2024 09:08 UTC](https://forum.robotframework.org/t/why-does-this-work-on-linux-macos-but-not-windows/7716/1 "2024-08-20T09:08:38Z")

</div>

So I have this piece of code in the browser:

`<div class="SomethingHere" title"Some Title Here">`

Which on Linux and MacOS does pass in the robot as expected with this:

`Element Should Be Visible xpath=//div[@class="SomethingHere"]`

But robot tests on Windows keeps failing with:

`Element with locator 'xpath=//div[@class="SomethingHere"]' not found.`

Anybody know why this is the case?

---

<div class="post-metadata">

**Author:** ![cakeandfruit](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/cakeandfruit/32/3776_2.png) [@cakeandfruit](https://forum.robotframework.org/u/cakeandfruit)\
**Post date:** [20 August 2024 09:52 UTC](https://forum.robotframework.org/t/why-does-this-work-on-linux-macos-but-not-windows/7716/2 "2024-08-20T09:52:46Z")

</div>

The element is not there on the Windows machine, that’s why, so has nothing to do with OS. The report/error message is correct, noticed it after changing to `Wait Until Element Is Visible`.
