# Relational accessor functions

<meta charset="UTF-8" id="bkmrk-"></meta><title id="bkmrk-relational-accessor-">Relational accessor functions - Appvance Test Designer JS Commands</title><style id="bkmrk-body-%7B-font-family%3A-">
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; max-width: 900px; margin: 0 auto; padding: 20px; line-height: 1.6; }
h1 { color: #1a73e8; border-bottom: 2px solid #1a73e8; padding-bottom: 8px; }
h3 { color: #333; margin-top: 24px; }
code { background: #f0f0f0; padding: 2px 6px; border-radius: 3px; font-size: 0.9em; }
pre { background: #f5f5f5; padding: 12px; border-radius: 4px; overflow-x: auto; }
blockquote { background: #f9f9f9; border-left: 4px solid #1a73e8; margin: 12px 0; padding: 8px 16px; }
p.note { background: #fff3cd; border-left: 4px solid #ffc107; padding: 8px 16px; }
</style></head><body>### <span>\_in</span> 

Parameters: accessor  
Description:  
Example:

> `link("delete", in(_cell("del2")))`

### **\_near | near** 

Parameters: element  
Description: the <span style="color: rgb(23,43,77);">element should be searched near another element</span>.  
Example:

> `_navigateTo("`https://www.apple.com/`");`  
> `_click(_link("ac-gn-link ac-gn-link-mac"));`  
> `_click(_link("ac-gn-link ac-gn-link-iphone",_near(_link("/ipad/"))));`  
> `_click(_link("/ipad/"));`  
> `_click(_span("chapternav-label[1]",_near(_link("/ipad/"))));`