Recorder - turn off offsets

Get help with testing, discuss unit testing strategies etc.
Post Reply
User avatar
jminutella
Posts: 45
Joined: Wed Oct 19, 2016 3:03 pm

Recorder - turn off offsets

Post by jminutella » Mon Apr 15, 2019 9:18 pm

Hello,

Is there anyway we can turn off offsets for when using the Recorder? I see the recordOffets config is false by default (https://www.bryntum.com/docs/siesta/#!/ ... ordOffsets) but whenever I use the Recorder and have some click events, I see the offsets.

Am I completely missing something?

User avatar
mats
Core Developer
Core Developer
Posts: 14100
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Recorder - turn off offsets

Post by mats » Mon Apr 15, 2019 11:13 pm

How do you configure your recorder?
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
jminutella
Posts: 45
Joined: Wed Oct 19, 2016 3:03 pm

Re: Recorder - turn off offsets

Post by jminutella » Tue Apr 16, 2019 4:02 pm

I don't actually have it configured anywhere. I just installed Siesta locally and ran it the browser and when I recorded the steps, I noticed some offsets.

Should I have configured? I'm assuming somewhere in siesta.js ?

User avatar
mats
Core Developer
Core Developer
Posts: 14100
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Recorder - turn off offsets

Post by mats » Tue Apr 16, 2019 4:04 pm

Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
jminutella
Posts: 45
Joined: Wed Oct 19, 2016 3:03 pm

Re: Recorder - turn off offsets

Post by jminutella » Tue Apr 16, 2019 5:09 pm

Code: Select all

    recorderConfig: {
        recordOffsets: false
    },
Did the trick. I guess I thought that since it's false by default, I didn't need to explicitly set the recordOffsets config.

Thanks for the quick response Mats!

Post Reply