Assuming you have already installed Charles proxy and WebDriver IO Mocha automation framework, follow these steps:
// Set Charles Proxy settings
exports.config = {
...
capabilities: [{
browserName: 'chrome',
chromeOptions: {
proxy: {
proxyType: 'manual',
httpProxy: 'localhost:8888' // replace with Charles proxy port number
}
}
}],
...
}
Note: If you have configured HTTPS requests in your test script, you may need to add SSL proxy settings to the Charles proxy configuration.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-07-11 13:41:18 +0000
Seen: 13 times
Last updated: Jul 11 '23
What are the steps to restrict the overall file size of uploaded files in NestJS using multer?
How do I delete my Git credentials?
What are the steps to perform server side printing using .net 6 and PdfSharpCore?
How can one open the "What's New" window in IntelliJ?
What are the steps to complete the merge process once I have resolved conflicts?
What is the method to obtain the public URL of a file in TYPO3?
What are the steps to set up TA-lib on Google Colab?
What are the steps to configure a gstreamer v4l2src stream-mmap?
What are the steps to create a fixed right-hand side bar on a modal using tailwindcss?