Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome Extension configuration file does not read API Key #5

Open
fuatumulu opened this issue Feb 15, 2024 · 9 comments
Open

Chrome Extension configuration file does not read API Key #5

fuatumulu opened this issue Feb 15, 2024 · 9 comments

Comments

@fuatumulu
Copy link

I am using CapSolver for browser automation. I have the plugin installed by default in multiple browsers, but the API KEY I entered in assets/config.js is not detected by browsers by default.

@CorujaBR
Copy link

Same here, wont load API Key on chrome...

@capsolver
Copy link
Owner

capsolver commented Feb 16, 2024 via email

@maddo7
Copy link

maddo7 commented Feb 21, 2024

Same issue, any fix for this by now?
The support on your website is not helpful at all.
First they say this feature is not supported, then they say it should work because it is described on your website.

@capsolver
Copy link
Owner

capsolver commented Feb 21, 2024 via email

@ducklin404
Copy link

I still have this issue

I added the API key in both files: my-content-script.js and assets/config.js, and it works for me.

@capsolver
Copy link
Owner

capsolver commented Feb 27, 2024 via email

@sergio-itru
Copy link

sergio-itru commented Apr 27, 2024

solution is to add newline ='\n' when write to a file. like this with open(path, 'w', encoding='utf-8',newline='\n') as f:

@daueee
Copy link

daueee commented May 1, 2024

solution is to add newline ='\n' when write to a file. like this with open(path, 'w', encoding='utf-8',newline='\n') as f:

Can you explain again? I need to do this where?

@sergio-itru
Copy link

solution is to add newline ='\n' when write to a file. like this with open(path, 'w', encoding='utf-8',newline='\n') as f:

Can you explain again? I need to do this where?

it is about CR LF, LF and CR line break types when you resave file with apiKey try to change the mode of writing, ask chatGpt for your code, above is for working solution for python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants