Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想验证网站(例如 YouTube)上的视频是否存在。现在的问题是我无法找到视频元素。我使用过 HTML 和 x-path。那么如何定位元素呢?
我想视频应该包含在一个应该有 ID 或名称的 Div 中?您是否尝试过仅搜索 Div 并断言它是否有任何元素?我认为需要更多信息才能获得有用的答案。
I have a little problem. After installed xampp on localhost I saw, that my PHP doesn't accept <?. When I have only <? it will show me error:
<?
Parse er