Is there any way to start the visual editor from t...
# ask-questions
a
Is there any way to start the visual editor from the browser extension? I've added the urls in the experiment for Visual Editor but can't open the link directly as it depends on a page redirection. So, if I can start the visual editor from the extension itself, it would be great.
f
can you describe the use case in a bit more detail? I'm not sure I understand. the URL you're testing is not available?
a
So our app is hosted on 'https://cuba-stage-dev.web.app/' - here. When we open the link, it'll check if I'm a logged in user or not & based on that it'll redirect to either 'https://cuba-stage-dev.web.app/home' or 'https://cuba-stage-dev.web.app/login'. But if we directly open 'https://cuba-stage-dev.web.app/home' , it'll throw 'Page not found' error. So the problem is that if I set the actual url in growthbook & try to open the visual editor, it'll redirect to '/home' & the visual editor won't open. But we can't open '/home' directly as it'll throw error. Is there any option to launch the visual editor from the extension? So that it'll check if the url is there in the growthbook & if it matches, we can launch the visual editor.
f
I see
I'll check with the team about that
can you not log in, and then try to open the right page in the visual editor with that logged in session still?
a
Tried it & it didn't work. Actually the project is hosted on firebase with the build files from react so it's not able to open any dynamic link directly. We have to open https://cuba-stage-dev.web.app/ & then it'll redirect to whatever page that's supposed to be seen by the user. If we try to open any link with extra parameters like /home or /leaderboards, they won't open. we can access those pages only by opening the main link
In the extension, inside experiment details, there's the section named 'Targeting and Traffic' where all the url targets for visual editor can be seen. Is there any option that we can start the visual editor from the extension if the current url matches the URL target? I can't think of any proper solution actually
f
the url you enter for the visual editor does not need to be the url that is used when you start the test
so if there is any url that will cause that right page to open, you can use that, then set the url targeting to the correct URL