如何使用java for selenium动态更改gif图像中的文本

时间:2022-05-10 23:47:53

如何使用java for selenium动态更改gif图像中的文本

Need to get all the text from this gif file and then need to verify some text.

需要从这个gif文件中获取所有文本,然后需要验证一些文本。

1 个解决方案

#1


0  

Selenium does not allow to do it or can say this functionality is not added in Selenium.

Selenium不允许这样做,或者可以说在Selenium中没有添加此功能。

Selenium can only work with HTML DOM. Reference

Selenium只能与HTML DOM一起使用。参考

Use OCR for this. OCR convert image to text. Wiki

使用OCR。 OCR将图像转换为文本。维基

Refer this link for Basic java program.

请参阅此链接以获取基本java程序。

OCR Program

OCR计划

Above solution might be helpful to you.

以上解决方案可能对您有所帮助。

#1


0  

Selenium does not allow to do it or can say this functionality is not added in Selenium.

Selenium不允许这样做,或者可以说在Selenium中没有添加此功能。

Selenium can only work with HTML DOM. Reference

Selenium只能与HTML DOM一起使用。参考

Use OCR for this. OCR convert image to text. Wiki

使用OCR。 OCR将图像转换为文本。维基

Refer this link for Basic java program.

请参阅此链接以获取基本java程序。

OCR Program

OCR计划

Above solution might be helpful to you.

以上解决方案可能对您有所帮助。