English 中文(简体)
如何通过软件浏览网站?
原标题:How do I navigate a website through software?

我需要通过一个主要以 Java字书写的网站浏览。 根本不存在硬性联系,因为该网页只是通过文字改动。 我可以做我需要再使用 Java字注射器做些什么,但神学开始寻找我的投入,而不是在一段紧张的时期之后注入。 我试图利用框架以超文本方式做到这一点,但是,由于来文方来自不同领域,因此,藏书让我能够在框架中使用 Java。 我能否这样做? 我先看是否使用贾瓦或沙勒,但我看不出什么让你用 Java字工作。

编辑:谢谢你告诉我不同的软件,但我不想使用其他第三方软件。我真的很想知道如何从HTML页面以系统的方式执行Javascript注入。我可以从浏览器中完成,为什么不能从HTML文档中完成呢?

问题回答

你们可以使用像Selenium这样的工具,在网上浏览器中点击物品的用户(我相信,实际上,这种工具是你选择的任何浏览器的真正例子)。

Selenium has a domain-specific language for specifying what actions you want to perform, and Python bindings for controlling it programmatically. I haven t actually used it, so I can t say much more about it, but you should go check it out.

Maybe





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签