使用selenium,无法获取元素位置,其他都可以,这个就是不行,,

问题遇到的现象和发生背景

使用selenium,无法获取元素位置,其他都可以,这个就是不行,,
点击确定按钮后 出现的一个div 但是这个div里面的东西都无法定位
就是找不到元素位置 其他的可以找到

java写的

问题相关代码,请勿粘贴截图

错误提示:

*** Element info: {Using=css selector, value=#app > div > div.dialog_box > div > ul > li.content_box > ul > li:nth-child(8) > div > div.item_content}
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
    at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
    at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)

运行结果及报错内容
*** Element info: {Using=css selector, value=#app > div > div.dialog_box > div > ul > li.content_box > ul > li:nth-child(8) > div > div.item_content}
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
    at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
    at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)

img

我的解答思路和尝试过的方法

我不知道 请各位解答?

我想要达到的结果

可以成功获取 并点击
)

图片右边是出现的div

网址