Closed frpz closed 7 months ago
Hi @frpz 👋
Smartlook, by default, does not record sessions originating from browsers controlled by automation software. This detection is achieved through the navigator.webDriver property.
I don't see anything wrong with your example, but it seems like some information might be missing because when you execute npm run dev
or npm run preview
, it does not launch a controlled browser.
We offer an undocumented flag within the initialization options that you can utilize, but I wouldn't recommend using it unless it's for testing purposes. You can enable it by using Smartlook.init('<key>', {enableRecordingOfAutomationFrameworks: true})
. However, you will need to suppress the TypeScript error as this flag is undocumented and intentionally omitted from the types.
Hello,
I've created a site with react and typescript using vite with this command:
npm create vite@latest
then I installed the client with
npm i smartlook-client
and added this to my App.tsx:
but when the app loads, I have this error message in the console:
[Smartlook] Smartlook is stopped. Automation framework is detected.
I didn't find anything in the doc regarding this error message.
my project is very basic, just one page with no routing.
my package.json:
Any ideas how to get rid of this message?