PlatonAI
PlatonAI
The following implementation is incorrect: ```kotlin override suspend fun outerHTML(): String? { return invokeOnPage("outerHTML") { domAPI?.outerHTML } } ``` Reproduce: ```kotlin driver.setContent("Hello, World!") driver.delay(1000) var html = driver.outerHTML() // null,...
## 1. tag 应该打在哪个分支上? **最佳实践:tag 应该打在 main(或 master)分支上。** - **原因**:main 分支代表的是“生产环境”或“正式发布”的代码。只有 main 分支的代码才是经过充分测试、可以安全发布的版本。 - **流程**:通常开发在 dev 或 feature 分支进行,合并到 main 后,main 上的 commit 就是发布版本,这时打 tag,标记这个 commit 为一个 release 版本。 **示例流程:**...
## Content Type to Block 'streaming', 'video', 'audio', 'webm', 'mp4', 'event-stream', 'websocket', 'protobuf'
2025-05-13 19:22:15.636 WARN [-worker-29] a.p.p.s.c.i.StreamingCrawler - Illegal state java.lang.IllegalStateException: The connection has been closed. at org.glassfish.tyrus.core.TyrusSession.checkConnectionState(TyrusSession.java:530) at org.glassfish.tyrus.core.TyrusSession.getAsyncRemote(TyrusSession.java:206) at ai.platon.pulsar.browser.driver.chrome.impl.TransportImpl.sendAsync(TransportImpl.kt:109) at ai.platon.pulsar.browser.driver.chrome.impl.ChromeDevToolsImpl.invoke1(ChromeDevToolsImpl.kt:163) at ai.platon.pulsar.browser.driver.chrome.impl.ChromeDevToolsImpl.invoke0(ChromeDevToolsImpl.kt:134) at ai.platon.pulsar.browser.driver.chrome.impl.ChromeDevToolsImpl.invoke(ChromeDevToolsImpl.kt:114) at ai.platon.pulsar.browser.driver.chrome.impl.DevToolsInvocationHandler.invoke(DevToolsInvocationHandler.kt:44) at jdk.proxy2/jdk.proxy2.$Proxy121.enable(Unknown...
The exception is throw by loadJsoupResource. Can reproduce by fetch a url with -resource option: ``` curl -X POST --location "http://localhost:8182/api/x/e" -H "Content-Type: text/plain" -d " select dom_base_uri(dom) as url...
Check all injected and exposed JavaScript variables.
# 调查 Patchright 相对 Playwright 做了哪些改进。 ## 🕵️♂️ Patchright – Stealth-Enhanced Playwright for Web Automation **Patchright** is a customized fork of [Playwright](https://playwright.dev), specifically tailored for web automation and crawling tasks....
# Bugs in onRequestWillBeSent and isBlocked Method isBlocked() has bugs ``` private fun onRequestWillBeSent(entry: NavigateEntry, event: RequestWillBeSent) { if (!entry.url.startsWith("http")) { // This can happen for the following cases: //...
**The following use cases must be covered:** * Click the button labeled **"Buy Now"** or something similar * Hover over the text **"Brand"** on the first screen * Scroll to...
WebDriver interface enhancement: - highlight an element - locate elements and return a temporary unique selector for further use - locate elements whose text is similar with some text -...