0

I am using modHeader extension to set context. I've been able to do it in chrome using this.

 browser.url("chrome-extension://idgpnmonknjnojddfkpgkljpfnnfcklj/icon.png")
    browser.execute(function(){
        this.localStorage.setItem(
            (
                [
                    title: 'Profile 1',
                    hideComment: true,
                    appendMode: '',
                    headers: [
                       { enabled: true, name: 'Name_1', value: 'Value_1' }
                    ],
                    respHeaders: [],
                    filters: [],
                ]
            )
        )
    })

I want to do the same with firefox browser. Is there a similar way to do it?

rahul
  • 1
  • 1

0 Answers0