macdriver icon indicating copy to clipboard operation
macdriver copied to clipboard

user-agent?

Open RRancio opened this issue 1 year ago • 1 comments

i was looking at the examples on the repo, and tried some ways to add a "user-agent" header, but i wasn't able, does this feature exists on this API?

image

(ignore the malformed url)

RRancio avatar Mar 12 '24 06:03 RRancio

The webview (wv) should have a customUserAgent property. Did you try wv.SetCustomUserAgent("My user agent")?

progrium avatar Mar 20 '24 23:03 progrium

Hope this helped.

progrium avatar Jun 12 '24 15:06 progrium