{"provider_url":"https://hatena.blog","author_name":"tamago-engineer","width":"100%","type":"rich","url":"https://tamago-engineer.hateblo.jp/entry/2018/07/11/152515","provider_name":"Hatena Blog","blog_title":"TRY AND ERROR","title":"Trap on findElement with cssSelector for Facebook WebDriver","blog_url":"https://tamago-engineer.hateblo.jp/","categories":["selenium","PHP"],"image_url":null,"height":"190","author_url":"https://blog.hatena.ne.jp/tamago-engineer/","published":"2018-07-11 15:25:15","description":"github.com In my case using Facebook WebDriver for Headless browser Testing, there is a trap on findElement with cssSelector. Assume you want to find the element(s) by css selector that you specify like what their style attribute doesn't have \"display:none\", for example you would use WebDriverBy::cs\u2026","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftamago-engineer.hateblo.jp%2Fentry%2F2018%2F07%2F11%2F152515\" title=\"Trap on findElement with cssSelector for Facebook WebDriver - TRY AND ERROR\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}